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:
17e01d2
)
Update from 1.0.0-stable.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 30 Jun 2009 11:42:50 +0000
(11:42 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 30 Jun 2009 11:42:50 +0000
(11:42 +0000)
ssl/ssl_cert.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_cert.c
b/ssl/ssl_cert.c
index 93103798154b5f1f449aa1ba20dc05277195bdaa..16fda5d8bffe1944a4e21896af82ca0c7e455dcb 100644
(file)
--- a/
ssl/ssl_cert.c
+++ b/
ssl/ssl_cert.c
@@
-516,9
+516,7
@@
int ssl_verify_cert_chain(SSL *s,STACK_OF(X509) *sk)
/* Anything non-default in "param" should overwrite anything in the
* ctx.
*/
- if (s->param)
- X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(&ctx),
- s->param);
+ X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(&ctx), s->param);
if (s->verify_callback)
X509_STORE_CTX_set_verify_cb(&ctx, s->verify_callback);