From d733ef7a69421c79309034943b94eb56d1842a1b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 30 Jun 2009 11:42:50 +0000 Subject: [PATCH] Update from 1.0.0-stable. --- ssl/ssl_cert.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 9310379815..16fda5d8bf 100644 --- 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); -- 2.25.1