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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Session.pike:352:       return 0;    }       certs = select_certificates(certs, cipher_suites, version);       // Find the set of key exchange algorithms supported by    // the remaining certs.    int ke_mask = (1<<KE_null)|(1<<KE_dh_anon)|(1<<KE_psk)|(1<<KE_dhe_psk)   #if constant(Crypto.ECC.Curve) -  |(1<<KE_ecdh_anon) +  |(1<<KE_ecdh_anon)|(1<<KE_ecdhe_psk)   #endif    ;    if (version >= PROTOCOL_TLS_1_2) {    ke_mask = `|(ke_mask, @certs->ke_mask_invariant);    } else {    ke_mask = `|(ke_mask, @certs->ke_mask);    }      #if constant(Crypto.ECC.Curve)    if (!sizeof(ecc_curves) || ecc_point_format==-1) {