without this the server will not advertise support for client certs

Closes GH-774.
pull/22966/head
Theo Schlossnagle 2011-03-11 17:11:46 -05:00 committed by Ryan Dahl
parent 12c02b378d
commit 2a61e1cd49
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ Handle<Value> SecureContext::AddCACert(const Arguments& args) {
if (!x509) return False();
X509_STORE_add_cert(sc->ca_store_, x509);
SSL_CTX_add_client_CA(sc->ctx_, x509);
X509_free(x509);