summaryrefslogtreecommitdiff
path: root/ssl/d1_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r--ssl/d1_clnt.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index 99cfefd..b781d88 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -245,7 +245,7 @@ int dtls1_connect(SSL *s)
ssl3_init_finished_mac(s);
dtls1_start_timer(s);
- ret=ssl3_client_hello(s);
+ ret=ssl3_send_client_hello(s);
if (ret <= 0) goto end;
if ( s->d1->send_cookie)
@@ -309,7 +309,7 @@ int dtls1_connect(SSL *s)
{
ret=ssl3_get_server_certificate(s);
if (ret <= 0) goto end;
- if (s->tlsext_status_expected)
+ if (s->s3->tmp.certificate_status_expected)
s->state=SSL3_ST_CR_CERT_STATUS_A;
else
s->state=SSL3_ST_CR_KEY_EXCH_A;
@@ -393,7 +393,7 @@ int dtls1_connect(SSL *s)
case SSL3_ST_CW_CERT_VRFY_A:
case SSL3_ST_CW_CERT_VRFY_B:
dtls1_start_timer(s);
- ret=ssl3_send_client_verify(s);
+ ret=ssl3_send_cert_verify(s);
if (ret <= 0) goto end;
s->state=SSL3_ST_CW_CHANGE_A;
s->init_num=0;
@@ -596,6 +596,7 @@ static int dtls1_get_hello_verify(SSL *s)
-1,
/* Use the same maximum size as ssl3_get_server_hello. */
20000,
+ SSL_GET_MESSAGE_HASH_MESSAGE,
&ok);
s->first_packet = 0;