From 54fa1d3a6727088bd1475d3822d8070cb9e734a9 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 11 Sep 2020 15:03:36 +0000 Subject: Some SSL_AD_* defines snuck into the TLSv1.3 code - replace them with TLS13_ALERT_* defines. ok beck@ tb@ --- src/lib/libssl/tls13_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 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 1f19bef997..590426ad8a 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.53 2020/07/30 16:23:17 tb Exp $ */ +/* $OpenBSD: tls13_lib.c,v 1.54 2020/09/11 15:03:36 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing * Copyright (c) 2019 Bob Beck @@ -137,12 +137,12 @@ tls13_alert_sent_cb(uint8_t alert_desc, void *arg) { struct tls13_ctx *ctx = arg; - if (alert_desc == SSL_AD_CLOSE_NOTIFY) { + if (alert_desc == TLS13_ALERT_CLOSE_NOTIFY) { ctx->close_notify_sent = 1; return; } - if (alert_desc == SSL_AD_USER_CANCELLED) { + if (alert_desc == TLS13_ALERT_USER_CANCELED) { return; } -- cgit v1.2.3-55-g6feb