diff options
| author | jsing <> | 2020-03-13 16:40:42 +0000 |
|---|---|---|
| committer | jsing <> | 2020-03-13 16:40:42 +0000 |
| commit | 591b982ee293938f0df951b42722d3714201a5b8 (patch) | |
| tree | 58f87656681e6786b7b16935eb8b009442a64c49 /src/lib/libssl/ssl_locl.h | |
| parent | ef441d96ee48c8a1b34e562f076c2b5da071c375 (diff) | |
| download | openbsd-591b982ee293938f0df951b42722d3714201a5b8.tar.gz openbsd-591b982ee293938f0df951b42722d3714201a5b8.tar.bz2 openbsd-591b982ee293938f0df951b42722d3714201a5b8.zip | |
Remove dtls1_enc().
Like much of the original DTLS code, dtls1_enc() is effectively a renamed
copy of tls1_enc(). Since then tls1_enc() has been modified, however the
non-AEAD code remains largely the same. As such, remove dtls1_enc() and
instead call tls1_enc() from the DTLS code.
The tls1_enc() AEAD code does not currently work correctly with DTLS,
however this is a non-issue since we do not support AEAD cipher suites with
DTLS currently.
ok tb@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 6604768485..f7b3868cd6 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.269 2020/03/12 17:09:02 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.270 2020/03/13 16:40:42 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -1306,7 +1306,6 @@ long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg); | |||
| 1306 | long dtls1_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok); | 1306 | long dtls1_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok); |
| 1307 | int dtls1_get_record(SSL *s); | 1307 | int dtls1_get_record(SSL *s); |
| 1308 | int dtls1_dispatch_alert(SSL *s); | 1308 | int dtls1_dispatch_alert(SSL *s); |
| 1309 | int dtls1_enc(SSL *s, int snd); | ||
| 1310 | 1309 | ||
| 1311 | int ssl_init_wbio_buffer(SSL *s, int push); | 1310 | int ssl_init_wbio_buffer(SSL *s, int push); |
| 1312 | void ssl_free_wbio_buffer(SSL *s); | 1311 | void ssl_free_wbio_buffer(SSL *s); |
