summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authorjsing <>2019-03-17 15:13:23 +0000
committerjsing <>2019-03-17 15:13:23 +0000
commit053bde557c5f57a91664558a9e44f1368c444de5 (patch)
tree18e703669702d4597d0c1cd1ae14e0b0d203bcef /src/lib/libssl/tls13_internal.h
parenta8451e4ce9acd74a5da3bf7e569a617a26cf3a25 (diff)
downloadopenbsd-053bde557c5f57a91664558a9e44f1368c444de5.tar.gz
openbsd-053bde557c5f57a91664558a9e44f1368c444de5.tar.bz2
openbsd-053bde557c5f57a91664558a9e44f1368c444de5.zip
Remove the alert level from the TLSv1.3 alert callback.
In TLSv1.3 the alert level is effectively meaningless and the record layer has already checked that it is appropriate. As such, drop it from the alert callback. ok tb@
Diffstat (limited to 'src/lib/libssl/tls13_internal.h')
-rw-r--r--src/lib/libssl/tls13_internal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h
index f3cccc14a6..1fe8f547a1 100644
--- a/src/lib/libssl/tls13_internal.h
+++ b/src/lib/libssl/tls13_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_internal.h,v 1.25 2019/02/28 17:56:43 jsing Exp $ */ 1/* $OpenBSD: tls13_internal.h,v 1.26 2019/03/17 15:13:23 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org>
4 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -36,8 +36,7 @@ __BEGIN_HIDDEN_DECLS
36#define TLS13_IO_WANT_POLLIN -2 36#define TLS13_IO_WANT_POLLIN -2
37#define TLS13_IO_WANT_POLLOUT -3 37#define TLS13_IO_WANT_POLLOUT -3
38 38
39typedef void (*tls13_alert_cb)(uint8_t _alert_level, uint8_t _alert_desc, 39typedef void (*tls13_alert_cb)(uint8_t _alert_desc, void *_cb_arg);
40 void *_cb_arg);
41typedef int (*tls13_post_handshake_cb)(void *_cb_arg); 40typedef int (*tls13_post_handshake_cb)(void *_cb_arg);
42typedef ssize_t (*tls13_read_cb)(void *_buf, size_t _buflen, void *_cb_arg); 41typedef ssize_t (*tls13_read_cb)(void *_buf, size_t _buflen, void *_cb_arg);
43typedef ssize_t (*tls13_write_cb)(const void *_buf, size_t _buflen, 42typedef ssize_t (*tls13_write_cb)(const void *_buf, size_t _buflen,