summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_lib.c
diff options
context:
space:
mode:
authorjsing <>2019-03-17 15:13:23 +0000
committerjsing <>2019-03-17 15:13:23 +0000
commitdd49a6161a8e846a7a8061c26720b909e1c2459d (patch)
tree18e703669702d4597d0c1cd1ae14e0b0d203bcef /src/lib/libssl/tls13_lib.c
parent06f0b6bafaf7cee52745d4755d954d64c91d529f (diff)
downloadopenbsd-dd49a6161a8e846a7a8061c26720b909e1c2459d.tar.gz
openbsd-dd49a6161a8e846a7a8061c26720b909e1c2459d.tar.bz2
openbsd-dd49a6161a8e846a7a8061c26720b909e1c2459d.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_lib.c')
-rw-r--r--src/lib/libssl/tls13_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_lib.c b/src/lib/libssl/tls13_lib.c
index 60fa372944..81325cd86f 100644
--- a/src/lib/libssl/tls13_lib.c
+++ b/src/lib/libssl/tls13_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_lib.c,v 1.10 2019/03/04 16:46:44 millert Exp $ */ 1/* $OpenBSD: tls13_lib.c,v 1.11 2019/03/17 15:13:23 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -62,7 +62,7 @@ tls13_cipher_hash(const SSL_CIPHER *cipher)
62} 62}
63 63
64static void 64static void
65tls13_alert_received_cb(uint8_t alert_level, uint8_t alert_desc, void *arg) 65tls13_alert_received_cb(uint8_t alert_desc, void *arg)
66{ 66{
67 struct tls13_ctx *ctx = arg; 67 struct tls13_ctx *ctx = arg;
68 SSL *s = ctx->ssl; 68 SSL *s = ctx->ssl;