diff options
author | jsing <> | 2020-03-13 16:40:42 +0000 |
---|---|---|
committer | jsing <> | 2020-03-13 16:40:42 +0000 |
commit | 392ee6d491e597c1f18e21334e3cb7998133074e (patch) | |
tree | 58f87656681e6786b7b16935eb8b009442a64c49 /src/lib/libssl/ssl_locl.h | |
parent | e4aa84e84fe680f7d36c8937f3d398c2e44b9d6e (diff) | |
download | openbsd-392ee6d491e597c1f18e21334e3cb7998133074e.tar.gz openbsd-392ee6d491e597c1f18e21334e3cb7998133074e.tar.bz2 openbsd-392ee6d491e597c1f18e21334e3cb7998133074e.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 'src/lib/libssl/ssl_locl.h')
-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); |