summaryrefslogtreecommitdiffstats
path: root/ssl/s3_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/s3_clnt.c
parent736d69750dd248e246abf3d0377ba240aa0e8226 (diff)
Backport: Revise ssl code to use CERT_PKEY structure when outputting a certificate chain (from HEAD)
Diffstat (limited to 'ssl/s3_clnt.c')
-rw-r--r--ssl/s3_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
index be64f95646..3d8246c4cb 100644
--- a/ssl/s3_clnt.c
+++ b/ssl/s3_clnt.c
@@ -3211,7 +3211,7 @@ int ssl3_send_client_certificate(SSL *s)
{
s->state=SSL3_ST_CW_CERT_D;
l=ssl3_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;
}