Additional workaround for PR#2771
[oweals/openssl.git] / ssl / d1_clnt.c
index a6ed09c51dda3d6dd8f7fcd4ad79a57efe956298..4af8ffda4d57f75a2e7e1ccfec5aea2a8e534d4c 100644 (file)
@@ -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;