summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_srvr.c')
-rw-r--r--src/lib/libssl/d1_srvr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c
index 3de0a72f27..4217519783 100644
--- a/src/lib/libssl/d1_srvr.c
+++ b/src/lib/libssl/d1_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_srvr.c,v 1.92 2018/04/07 17:02:34 jsing Exp $ */ 1/* $OpenBSD: d1_srvr.c,v 1.93 2018/08/24 17:30:32 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -185,7 +185,7 @@ dtls1_send_hello_verify_request(SSL *s)
185 return 0; 185 return 0;
186 } 186 }
187 187
188 if (!ssl3_handshake_msg_start_cbb(s, &cbb, &verify, 188 if (!ssl3_handshake_msg_start(s, &cbb, &verify,
189 DTLS1_MT_HELLO_VERIFY_REQUEST)) 189 DTLS1_MT_HELLO_VERIFY_REQUEST))
190 goto err; 190 goto err;
191 if (!CBB_add_u16(&verify, s->version)) 191 if (!CBB_add_u16(&verify, s->version))
@@ -194,7 +194,7 @@ dtls1_send_hello_verify_request(SSL *s)
194 goto err; 194 goto err;
195 if (!CBB_add_bytes(&cookie, D1I(s)->cookie, D1I(s)->cookie_len)) 195 if (!CBB_add_bytes(&cookie, D1I(s)->cookie, D1I(s)->cookie_len))
196 goto err; 196 goto err;
197 if (!ssl3_handshake_msg_finish_cbb(s, &cbb)) 197 if (!ssl3_handshake_msg_finish(s, &cbb))
198 goto err; 198 goto err;
199 199
200 S3I(s)->hs.state = DTLS1_ST_SW_HELLO_VERIFY_REQUEST_B; 200 S3I(s)->hs.state = DTLS1_ST_SW_HELLO_VERIFY_REQUEST_B;