diff options
author | 2020-03-10 17:02:21 +0000 | |
---|---|---|
committer | 2020-03-10 17:02:21 +0000 | |
commit | 6f4f83c6639d358ea671991be6accae1493a7516 (patch) | |
tree | d0823ca696e64d236436b60a9e8672ea25e22985 /lib/libssl/tls13_legacy.c | |
parent | Coverity points out (12 + MAXMPS) can never be less than (diff) | |
download | wireguard-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/tls13_legacy.c')
-rw-r--r-- | lib/libssl/tls13_legacy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/tls13_legacy.c b/lib/libssl/tls13_legacy.c index 642374af92c..747bdc2728e 100644 --- a/lib/libssl/tls13_legacy.c +++ b/lib/libssl/tls13_legacy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_legacy.c,v 1.1 2020/02/15 14:40:38 jsing Exp $ */ +/* $OpenBSD: tls13_legacy.c,v 1.2 2020/03/10 17:02:21 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> * @@ -21,7 +21,6 @@ #include "tls13_internal.h" SSL3_ENC_METHOD TLSv1_3_enc_data = { - .enc = NULL, .enc_flags = SSL_ENC_FLAG_SIGALGS|SSL_ENC_FLAG_TLS1_3_CIPHERS, }; |