diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-01-26 16:00:34 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-01-26 16:00:34 +0000 |
commit | c526ed410cdff6af4729e6abba658759ed19f753 (patch) | |
tree | f9c6dbff3549bd47fd57f97883bd966550d665fe /ssl/s3_clnt.c | |
parent | 4379d0e457ebd404f248d2e2c265ff11d25bfab4 (diff) | |
download | openssl-new-c526ed410cdff6af4729e6abba658759ed19f753.tar.gz |
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/s3_clnt.c')
-rw-r--r-- | ssl/s3_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 7a8b7f27d0..e7b477a5e7 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -3177,7 +3177,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; } |