commit | 9330a85e0499f10752434c451977d65d80d8de19 | [log] [tgz] |
---|---|---|
author | Kaspar Brand <httpd-dev.2014@velox.ch> | Mon Apr 21 16:52:28 2014 +0100 |
committer | Dr. Stephen Henson <steve@openssl.org> | Mon Apr 21 16:52:28 2014 +0100 |
tree | b4f178da5393c25c07d6980baf3bdee99c6c6b05 | |
parent | 0dd5b94aeb77c2982bdf6886962b7a8491c6c9ed [diff] [blame] |
Fix SSL_CTX_get{first,next}_certificate. Fix typo that stopped SSL_CTX_get_{first,next}_certificate from working.
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 385d25f..4e75a96 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c
@@ -670,7 +670,7 @@ return 0; for (i = idx; i < SSL_PKEY_NUM; i++) { - CERT_PKEY *cpk = c->key + i; + CERT_PKEY *cpk = c->pkeys + i; if (cpk->x509 && cpk->privatekey) { c->key = cpk;