From 053bde557c5f57a91664558a9e44f1368c444de5 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 17 Mar 2019 15:13:23 +0000 Subject: 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@ --- src/lib/libssl/tls13_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libssl/tls13_lib.c') 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 @@ -/* $OpenBSD: tls13_lib.c,v 1.10 2019/03/04 16:46:44 millert Exp $ */ +/* $OpenBSD: tls13_lib.c,v 1.11 2019/03/17 15:13:23 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing * @@ -62,7 +62,7 @@ tls13_cipher_hash(const SSL_CIPHER *cipher) } static void -tls13_alert_received_cb(uint8_t alert_level, uint8_t alert_desc, void *arg) +tls13_alert_received_cb(uint8_t alert_desc, void *arg) { struct tls13_ctx *ctx = arg; SSL *s = ctx->ssl; -- cgit v1.2.3-55-g6feb