diff options
Diffstat (limited to 'src/lib')
-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 | ||