diff options
author | tb <> | 2021-06-14 03:53:59 +0000 |
---|---|---|
committer | tb <> | 2021-06-14 03:53:59 +0000 |
commit | 31cc980921fb2043cc7798cb3d036980f86800d5 (patch) | |
tree | 82f56ae71d0fcfc63024148fb5b1b670682df1e3 /src | |
parent | c9280d471c9147a88d9b965298fea2c7df6a6996 (diff) | |
download | openbsd-31cc980921fb2043cc7798cb3d036980f86800d5.tar.gz openbsd-31cc980921fb2043cc7798cb3d036980f86800d5.tar.bz2 openbsd-31cc980921fb2043cc7798cb3d036980f86800d5.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libtls/tls_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: tls_server.c,v 1.46 2021/06/01 19:49:17 tb Exp $ */ | 1 | /* $OpenBSD: tls_server.c,v 1.47 2021/06/14 03:53:59 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -133,7 +133,7 @@ tls_servername_cb(SSL *ssl, int *al, void *arg) | |||
133 | * There is no way to tell libssl that an internal failure occurred. | 133 | * There is no way to tell libssl that an internal failure occurred. |
134 | * The only option we have is to return a fatal alert. | 134 | * The only option we have is to return a fatal alert. |
135 | */ | 135 | */ |
136 | *al = TLS1_AD_INTERNAL_ERROR; | 136 | *al = SSL_AD_INTERNAL_ERROR; |
137 | return (SSL_TLSEXT_ERR_ALERT_FATAL); | 137 | return (SSL_TLSEXT_ERR_ALERT_FATAL); |
138 | } | 138 | } |
139 | 139 | ||