diff options
author | jsing <> | 2020-03-10 17:02:21 +0000 |
---|---|---|
committer | jsing <> | 2020-03-10 17:02:21 +0000 |
commit | 2fc4169a1040fb41912043d6a402741eceda793f (patch) | |
tree | 2214ec4c580fdd9fa5d8199893b2deab09b04e8c /src/lib/libssl/d1_lib.c | |
parent | fb8d28aeb36c4bb18f6fcbfcdb61a6ba1099d7c0 (diff) | |
download | openbsd-2fc4169a1040fb41912043d6a402741eceda793f.tar.gz openbsd-2fc4169a1040fb41912043d6a402741eceda793f.tar.bz2 openbsd-2fc4169a1040fb41912043d6a402741eceda793f.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 'src/lib/libssl/d1_lib.c')
-rw-r--r-- | src/lib/libssl/d1_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index 45bbd9b45d..6171035d23 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.43 2020/02/21 16:12:18 jsing Exp $ */ | 1 | /* $OpenBSD: d1_lib.c,v 1.44 2020/03/10 17:02:21 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. |
@@ -73,7 +73,6 @@ | |||
73 | static int dtls1_listen(SSL *s, struct sockaddr *client); | 73 | static int dtls1_listen(SSL *s, struct sockaddr *client); |
74 | 74 | ||
75 | SSL3_ENC_METHOD DTLSv1_enc_data = { | 75 | SSL3_ENC_METHOD DTLSv1_enc_data = { |
76 | .enc = dtls1_enc, | ||
77 | .enc_flags = SSL_ENC_FLAG_EXPLICIT_IV, | 76 | .enc_flags = SSL_ENC_FLAG_EXPLICIT_IV, |
78 | }; | 77 | }; |
79 | 78 | ||