diff options
author | Kaspar Brand <httpd-dev.2014@velox.ch> | 2014-04-21 16:52:28 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-04-21 16:53:48 +0100 |
commit | 5aeb43393be459b8621fc4710135d5206e0961a7 (patch) | |
tree | 60982e1d5792740ae6367d40c9fdf1e5fe292821 /ssl/ssl_cert.c | |
parent | 6e85eba11b00147ddf649f337ff3fa49f261d50d (diff) |
Fix SSL_CTX_get{first,next}_certificate.
Fix typo that stopped SSL_CTX_get_{first,next}_certificate from working.
(cherry picked from commit 9330a85e0499f10752434c451977d65d80d8de19)
Diffstat (limited to 'ssl/ssl_cert.c')
-rw-r--r-- | ssl/ssl_cert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 830490e860..aaa6e0a198 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -664,7 +664,7 @@ int ssl_cert_set_current(CERT *c, long op) 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; |