projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e85eba
)
Fix SSL_CTX_get{first,next}_certificate.
author
Kaspar Brand
<httpd-dev.2014@velox.ch>
Mon, 21 Apr 2014 15:52:28 +0000
(16:52 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 21 Apr 2014 15:53:48 +0000
(16:53 +0100)
Fix typo that stopped SSL_CTX_get_{first,next}_certificate from working.
(cherry picked from commit
9330a85e0499f10752434c451977d65d80d8de19
)
ssl/ssl_cert.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_cert.c
b/ssl/ssl_cert.c
index 830490e8601178be15a9b4268511e59dfc2317d3..aaa6e0a198a2d5d3930d9cdb7b5fc059ec635b19 100644
(file)
--- 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;