Revise ssl code to use a CERT_PKEY structure when outputting a
[openssl.git] / ssl / d1_clnt.c
index bb1fd6ac0a8682c26306f9cc3e492cdce2c77b17..299ffb39b645524010364143ce8f95495fbf0357 100644 (file)
@@ -1695,7 +1695,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;