From: tb Date: Mon, 14 Jun 2021 03:53:59 +0000 (+0000) Subject: Use SSL_AD_INTERNAL_ERROR X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=79d77232f09468d136d6327c22122ff2282982c6;p=openbsd 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. --- diff --git a/lib/libtls/tls_server.c b/lib/libtls/tls_server.c index 54d220f25a6..0a8ec4728ea 100644 --- a/lib/libtls/tls_server.c +++ b/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); }