From 31cc980921fb2043cc7798cb3d036980f86800d5 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 14 Jun 2021 03:53:59 +0000 Subject: Use SSL_AD_INTERNAL_ERROR One instance of TLS1_AD_* was missed and broke the tree in the recent switch to using only one version of alert defines internally. --- src/lib/libtls/tls_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libtls/tls_server.c b/src/lib/libtls/tls_server.c index 54d220f25a..0a8ec4728e 100644 --- a/src/lib/libtls/tls_server.c +++ b/src/lib/libtls/tls_server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_server.c,v 1.46 2021/06/01 19:49:17 tb Exp $ */ +/* $OpenBSD: tls_server.c,v 1.47 2021/06/14 03:53:59 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -133,7 +133,7 @@ tls_servername_cb(SSL *ssl, int *al, void *arg) * There is no way to tell libssl that an internal failure occurred. * The only option we have is to return a fatal alert. */ - *al = TLS1_AD_INTERNAL_ERROR; + *al = SSL_AD_INTERNAL_ERROR; return (SSL_TLSEXT_ERR_ALERT_FATAL); } -- cgit v1.2.3-55-g6feb