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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Context.pike:713: Inside #if constant(Crypto.ECC.Curve) && constant(Crypto.AES.GCM) && constant(Crypto.SHA384)
   // Permissive mode. Add the remaining suites of    // the required strength.    preferred_suites += get_suites(min_keylength) - preferred_suites;    }    }   }      #endif /* Crypto.ECC.Curve && Crypto.AES.GCM && Crypto.SHA384 */      //! Called by the KeyExchangeExportRSA during KE_rsa_export key - //! exchanges to ge thte weak RSA key. By default a new 512 bit key is + //! exchanges to get the weak RSA key. By default a new 512 bit key is   //! generated for each key exchange. This method can be overloaded to   //! provide caching or alternative means to generate keys.   Crypto.RSA get_export_rsa_key()   {    return Crypto.RSA()->generate_key(512);   }      // --- PSK API      // In addition to implementing get_psk, get_psk_id if you are a client