summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2020-03-13 16:40:42 +0000
committerjsing <>2020-03-13 16:40:42 +0000
commit392ee6d491e597c1f18e21334e3cb7998133074e (patch)
tree58f87656681e6786b7b16935eb8b009442a64c49 /src/lib/libssl/ssl_locl.h
parente4aa84e84fe680f7d36c8937f3d398c2e44b9d6e (diff)
downloadopenbsd-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.h3
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);
1306long dtls1_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok); 1306long dtls1_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok);
1307int dtls1_get_record(SSL *s); 1307int dtls1_get_record(SSL *s);
1308int dtls1_dispatch_alert(SSL *s); 1308int dtls1_dispatch_alert(SSL *s);
1309int dtls1_enc(SSL *s, int snd);
1310 1309
1311int ssl_init_wbio_buffer(SSL *s, int push); 1310int ssl_init_wbio_buffer(SSL *s, int push);
1312void ssl_free_wbio_buffer(SSL *s); 1311void ssl_free_wbio_buffer(SSL *s);