summaryrefslogtreecommitdiff
path: root/ssl/d1_clnt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-06-01 22:33:24 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-06-01 22:33:24 +0000
commit368888bcb6192b96638c3d6dd706103be52eac89 (patch)
tree8dd1f0a48976e76117fdb806cec27f76917f7c07 /ssl/d1_clnt.c
parenteafd6e5110b2e180ee449ac3bfb16952aa55a664 (diff)
downloadopenssl-new-368888bcb6192b96638c3d6dd706103be52eac89.tar.gz
Add client cert engine to SSL routines.
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r--ssl/d1_clnt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index 322c017f76..f4e9df9810 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -1096,8 +1096,7 @@ int dtls1_send_client_certificate(SSL *s)
* ssl->rwstate=SSL_X509_LOOKUP; return(-1);
* We then get retied later */
i=0;
- if (s->ctx->client_cert_cb != NULL)
- i=s->ctx->client_cert_cb(s,&(x509),&(pkey));
+ i = ssl_do_client_cert_cb(s, &x509, &pkey);
if (i < 0)
{
s->rwstate=SSL_X509_LOOKUP;