diff options
author | tb <> | 2021-06-14 03:53:59 +0000 |
---|---|---|
committer | tb <> | 2021-06-14 03:53:59 +0000 |
commit | 4346c3454d71927f5ea189c54629715ac0892347 (patch) | |
tree | 82f56ae71d0fcfc63024148fb5b1b670682df1e3 | |
parent | 1d3fd17e79d234b688119ce8ceed6a576b2bb47c (diff) | |
download | openbsd-4346c3454d71927f5ea189c54629715ac0892347.tar.gz openbsd-4346c3454d71927f5ea189c54629715ac0892347.tar.bz2 openbsd-4346c3454d71927f5ea189c54629715ac0892347.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.
-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 | ||