summaryrefslogtreecommitdiff
path: root/ssl/d1_clnt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-04-06 12:00:24 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-04-06 12:00:24 +0000
commit7e65b21a245e64f4e0984eddaaff4137e7bf616f (patch)
tree1a97eb91abc903c8d09e6a3187f1b023c3ca0ad1 /ssl/d1_clnt.c
parent736d69750dd248e246abf3d0377ba240aa0e8226 (diff)
downloadopenssl-new-7e65b21a245e64f4e0984eddaaff4137e7bf616f.tar.gz
Backport: Revise ssl code to use CERT_PKEY structure when outputting a certificate chain (from HEAD)
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 a6ed09c51d..4af8ffda4d 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -1694,7 +1694,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;