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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Session.pike:176:    }    } else {    if (!(ke_mask & cp->ke_mask)) return 0;    }      #if constant(Crypto.ECC.Curve)    if (cp->key->curve) {    // Is the ECC curve supported by the client?    Crypto.ECC.Curve c =    ([object(Crypto.ECC.SECP_521R1.ECDSA)]cp->key)->curve(); -  SSL3_DEBUG_MSG("Curve: %O\n" -  "CURVE ID: %d\n", +  SSL3_DEBUG_MSG("Curve: %O (%O)\n",    c, ECC_NAME_TO_CURVE[c->name()]);    return has_value(ecc_curves, ECC_NAME_TO_CURVE[c->name()]);    }   #endif    return 1;   }      //! Used to filter the set of cipher suites suggested by the peer   //! based on our available certificates.   //!