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_record_layer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libssl/tls13_record_layer.c') diff --git a/src/lib/libssl/tls13_record_layer.c b/src/lib/libssl/tls13_record_layer.c index 71ce4a81ae..66e201fcbc 100644 --- a/src/lib/libssl/tls13_record_layer.c +++ b/src/lib/libssl/tls13_record_layer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_record_layer.c,v 1.8 2019/02/26 17:38:39 jsing Exp $ */ +/* $OpenBSD: tls13_record_layer.c,v 1.9 2019/03/17 15:13:23 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing * @@ -234,7 +234,7 @@ tls13_record_layer_process_alert(struct tls13_record_layer *rl) return TLS13_IO_FAILURE; } - rl->alert_cb(alert_level, alert_desc, rl->cb_arg); + rl->alert_cb(alert_desc, rl->cb_arg); err: return ret; -- cgit v1.2.3-55-g6feb