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:
08882ac
)
PR: 1411
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 12 Sep 2009 23:09:45 +0000
(23:09 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 12 Sep 2009 23:09:45 +0000
(23:09 +0000)
Submitted by: steve@openssl.org
Allow use of trusted certificates in SSL_CTX_use_chain_file()
ssl/ssl_rsa.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_rsa.c
b/ssl/ssl_rsa.c
index 27113eba5088cfb196a56dca250c2ed7f12572fc..c0960b5712b8e596ec4ed057e915da804ec68bde 100644
(file)
--- a/
ssl/ssl_rsa.c
+++ b/
ssl/ssl_rsa.c
@@
-723,7
+723,7
@@
int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file)
goto end;
}
- x=PEM_read_bio_X509(in,NULL,ctx->default_passwd_callback,ctx->default_passwd_callback_userdata);
+ x=PEM_read_bio_X509
_AUX
(in,NULL,ctx->default_passwd_callback,ctx->default_passwd_callback_userdata);
if (x == NULL)
{
SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE_CHAIN_FILE,ERR_R_PEM_LIB);