From 7ec834bc3417b066072208fd7b33985994ff8ec2 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 3 Oct 2020 17:54:27 +0000 Subject: Use TLSv1_1_enc_data instead of DTLSv1_enc_data. DTLSv1 is TLSv1.1 over datagrams - there is no need for a separate SSL3_ENC_METHOD struct, just use TLSv1_1_enc_data and remove DTLSv1_enc_data entirely. ok tb@ --- src/lib/libssl/d1_lib.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libssl/d1_lib.c') diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index b7d23ef4ca..b4ce2c0722 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_lib.c,v 1.50 2020/09/26 14:43:17 jsing Exp $ */ +/* $OpenBSD: d1_lib.c,v 1.51 2020/10/03 17:54:27 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -74,10 +74,6 @@ void dtls1_hm_fragment_free(hm_fragment *frag); static int dtls1_listen(SSL *s, struct sockaddr *client); -SSL3_ENC_METHOD DTLSv1_enc_data = { - .enc_flags = SSL_ENC_FLAG_EXPLICIT_IV, -}; - int dtls1_new(SSL *s) { -- cgit v1.2.3-55-g6feb