pike.git / lib / modules / SSL.pmod / Connection.pike

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:369:    "Bad certificate chain.\n"));    return 0;    }    if( !sizeof(certs) )    return 1;       // This data isn't actually used internally.    session->peer_certificate_chain = certs;       session->peer_public_key = decoded[-1]->public_key->pkc; - #if constant(Crypto.ECC.Curve) -  if (session->peer_public_key->get_curve) { -  session->curve = -  ([object(Crypto.ECC.Curve.ECDSA)]session->peer_public_key)-> -  get_curve(); -  } - #endif -  +     return 1;   }      //! Generate new pending cipher states.   void new_cipher_states();      //! Derive the master secret from the premaster_secret   //! and the random seeds, and configure the keys.   void derive_master_secret(string(8bit) premaster_secret)   {