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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Session.pike:269:    ProtocolVersion version)   {    SSL3_DEBUG_MSG("Candidate certificates: %O\n", certs);       // Find the set of key exchange and hash algorithms supported by the    // client.    int ke_mask = 0;    int h_max = 0;    foreach(cipher_suites, int suite) {    if (CIPHER_SUITES[suite]) { -  ke_mask |= 1 << [int](CIPHER_SUITES[suite][0]); +  ke_mask |= 1 << [int(0..22)](CIPHER_SUITES[suite][0]);    Crypto.Hash hash =    [object(Crypto.Hash)]HASH_lookup[CIPHER_SUITES[suite][2]];    if (hash && (hash->digest_size() > h_max)) {    h_max = hash->digest_size();    }    }    }      #if constant(Crypto.ECC.Curve)    if (!sizeof(ecc_curves) || ecc_point_format==-1) {