diff options
author | jsing <> | 2019-03-17 15:13:23 +0000 |
---|---|---|
committer | jsing <> | 2019-03-17 15:13:23 +0000 |
commit | 053bde557c5f57a91664558a9e44f1368c444de5 (patch) | |
tree | 18e703669702d4597d0c1cd1ae14e0b0d203bcef /src/lib/libssl/tls13_lib.c | |
parent | a8451e4ce9acd74a5da3bf7e569a617a26cf3a25 (diff) | |
download | openbsd-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_lib.c')
-rw-r--r-- | src/lib/libssl/tls13_lib.c | 4 |
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 | ||
64 | static void | 64 | static void |
65 | tls13_alert_received_cb(uint8_t alert_level, uint8_t alert_desc, void *arg) | 65 | tls13_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; |