summaryrefslogtreecommitdiffstats
path: root/ssl/d1_clnt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-01-26 16:00:34 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-01-26 16:00:34 +0000
commitc526ed410cdff6af4729e6abba658759ed19f753 (patch)
treef9c6dbff3549bd47fd57f97883bd966550d665fe /ssl/d1_clnt.c
parent4379d0e457ebd404f248d2e2c265ff11d25bfab4 (diff)
Revise ssl code to use a CERT_PKEY structure when outputting a
certificate chain instead of an X509 structure. This makes it easier to enhance code in future and the chain output functions have access to the CERT_PKEY structure being used.
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r--ssl/d1_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index bb1fd6ac0a..299ffb39b6 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -1695,7 +1695,7 @@ int dtls1_send_client_certificate(SSL *s)
{
s->state=SSL3_ST_CW_CERT_D;
l=dtls1_output_cert_chain(s,
- (s->s3->tmp.cert_req == 2)?NULL:s->cert->key->x509);
+ (s->s3->tmp.cert_req == 2)?NULL:s->cert->key);
s->init_num=(int)l;
s->init_off=0;