summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-03-10 17:02:21 +0000
committerjsing <jsing@openbsd.org>2020-03-10 17:02:21 +0000
commit6f4f83c6639d358ea671991be6accae1493a7516 (patch)
treed0823ca696e64d236436b60a9e8672ea25e22985 /lib/libssl/d1_lib.c
parentCoverity points out (12 + MAXMPS) can never be less than (diff)
downloadwireguard-openbsd-6f4f83c6639d358ea671991be6accae1493a7516.tar.xz
wireguard-openbsd-6f4f83c6639d358ea671991be6accae1493a7516.zip
Remove the enc function pointers.
The enc function pointers do not serve any purpose these days - remove a layer of indirection and call dtls1_enc()/tls1_enc() directly. ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/d1_lib.c')
-rw-r--r--lib/libssl/d1_lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/d1_lib.c b/lib/libssl/d1_lib.c
index 45bbd9b45d6..6171035d238 100644
--- a/lib/libssl/d1_lib.c
+++ b/lib/libssl/d1_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_lib.c,v 1.43 2020/02/21 16:12:18 jsing Exp $ */
+/* $OpenBSD: d1_lib.c,v 1.44 2020/03/10 17:02:21 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -73,7 +73,6 @@
static int dtls1_listen(SSL *s, struct sockaddr *client);
SSL3_ENC_METHOD DTLSv1_enc_data = {
- .enc = dtls1_enc,
.enc_flags = SSL_ENC_FLAG_EXPLICIT_IV,
};