Branch: Tag:

2014-12-04

2014-12-04 19:25:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.https: Accept all SNI's with the test cert.

The inlined test certificate is for "demo server", which causes
it to not be selected by the new SNI-based code unless forced.

239:    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))