summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_clnt.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-10-08 16:24:02 +0000
committerjsing <jsing@openbsd.org>2017-10-08 16:24:02 +0000
commitab211f3d6a2af7f816fd335de234f45018dbbf23 (patch)
tree6672dbcc34bd77466fb2f13fbdb771ceebef33a5 /lib/libssl/d1_clnt.c
parentsort (diff)
downloadwireguard-openbsd-ab211f3d6a2af7f816fd335de234f45018dbbf23.tar.xz
wireguard-openbsd-ab211f3d6a2af7f816fd335de234f45018dbbf23.zip
Convert ssl3_send_change_cipher_spec() to use CBB and make it handle DTLS,
which allows us to drop dtls1_send_change_cipher_spec() entirely. ok inoguchi@
Diffstat (limited to 'lib/libssl/d1_clnt.c')
-rw-r--r--lib/libssl/d1_clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/d1_clnt.c b/lib/libssl/d1_clnt.c
index 3eebf984173..c9447138d5f 100644
--- a/lib/libssl/d1_clnt.c
+++ b/lib/libssl/d1_clnt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_clnt.c,v 1.76 2017/05/07 04:22:24 beck Exp $ */
+/* $OpenBSD: d1_clnt.c,v 1.77 2017/10/08 16:24:02 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -427,7 +427,7 @@ dtls1_connect(SSL *s)
case SSL3_ST_CW_CHANGE_B:
if (!s->internal->hit)
dtls1_start_timer(s);
- ret = dtls1_send_change_cipher_spec(s,
+ ret = ssl3_send_change_cipher_spec(s,
SSL3_ST_CW_CHANGE_A, SSL3_ST_CW_CHANGE_B);
if (ret <= 0)
goto end;