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

version» Context lines:

pike.git/lib/modules/SSL.pmod/https.pike:232: Inside #if 0
   rsa->set_public_key(n, e);    rsa->set_private_key(d);   #else /* !0 */    // FIXME: Is this correct?    key = Standards.PKCS.RSA.parse_private_key(my_key);   #endif /* 0 */    // Make sure all cipher suites are available.    rsa_mode();   #endif    SSL3_DEBUG_MSG("Cipher suites:\n%s", fmt_cipher_suites(preferred_suites)); -  add_cert(key, ({ my_certificate })); +  add_cert(key, ({ my_certificate }), ({ "*" })); +  SSL3_DEBUG_MSG("Certs:\n%O\n", cert_pairs);    random = no_random()->read;    werror("Starting\n");    if (!bind(PORT, my_accept_callback))    {    perror("");    return 17;    }    else {    werror("Listening on port %d.\n", PORT);    return -17;    }   #endif   }