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

version» Context lines:

pike.git/lib/modules/SSL.pmod/https.pike:211: Inside #if constant(Crypto.ECC.Curve)
   //    // Unlikely to be needed, but the cost is minimal.    make_certificate(ctx, key, Crypto.SHA1);   #endif       // Make sure all cipher suites are available.    ctx->preferred_suites = ctx->get_suites(CIPHER_BITS, KE_MODE);    SSL3_DEBUG_MSG("Cipher suites:\n%s",    .Constants.fmt_cipher_suites(ctx->preferred_suites));    -  SSL3_DEBUG_MSG("Certs:\n%O\n", ctx->cert_pairs); +  SSL3_DEBUG_MSG("Certs:\n%O\n", ctx->get_certificates());       port = SSL.Port(ctx);       werror("Starting\n");    if (!port->bind(PORT, my_accept_callback))    {    Stdio.perror("");    return 17;    }    else {    werror("Listening on port %d.\n", PORT);    return -17;    }   #endif   }