Backport: Revise ssl code to use CERT_PKEY structure when outputting a certificate chain (from HEAD)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user