summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_lib.c
diff options
context:
space:
mode:
authorjsing <>2020-10-03 17:54:27 +0000
committerjsing <>2020-10-03 17:54:27 +0000
commit7ec834bc3417b066072208fd7b33985994ff8ec2 (patch)
tree6c76eeaf72b5b0ed9834b97029e929a63797308b /src/lib/libssl/d1_lib.c
parent3058247715ff89d092334e9137126e12b7220589 (diff)
downloadopenbsd-7ec834bc3417b066072208fd7b33985994ff8ec2.tar.gz
openbsd-7ec834bc3417b066072208fd7b33985994ff8ec2.tar.bz2
openbsd-7ec834bc3417b066072208fd7b33985994ff8ec2.zip
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@
Diffstat (limited to 'src/lib/libssl/d1_lib.c')
-rw-r--r--src/lib/libssl/d1_lib.c6
1 files changed, 1 insertions, 5 deletions
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 @@
1/* $OpenBSD: d1_lib.c,v 1.50 2020/09/26 14:43:17 jsing Exp $ */ 1/* $OpenBSD: d1_lib.c,v 1.51 2020/10/03 17:54:27 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.
@@ -74,10 +74,6 @@ void dtls1_hm_fragment_free(hm_fragment *frag);
74 74
75static int dtls1_listen(SSL *s, struct sockaddr *client); 75static int dtls1_listen(SSL *s, struct sockaddr *client);
76 76
77SSL3_ENC_METHOD DTLSv1_enc_data = {
78 .enc_flags = SSL_ENC_FLAG_EXPLICIT_IV,
79};
80
81int 77int
82dtls1_new(SSL *s) 78dtls1_new(SSL *s)
83{ 79{