summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_record_layer.c
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_record_layer.c
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_record_layer.c')
-rw-r--r--src/lib/libssl/tls13_record_layer.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: tls13_record_layer.c,v 1.8 2019/02/26 17:38:39 jsing Exp $ */ 1/* $OpenBSD: tls13_record_layer.c,v 1.9 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 *
@@ -234,7 +234,7 @@ tls13_record_layer_process_alert(struct tls13_record_layer *rl)
234 return TLS13_IO_FAILURE; 234 return TLS13_IO_FAILURE;
235 } 235 }
236 236
237 rl->alert_cb(alert_level, alert_desc, rl->cb_arg); 237 rl->alert_cb(alert_desc, rl->cb_arg);
238 238
239 err: 239 err:
240 return ret; 240 return ret;