diff options
author | 2020-05-29 17:39:42 +0000 | |
---|---|---|
committer | 2020-05-29 17:39:42 +0000 | |
commit | ddd788dfabd59e8e8d6989506b2f2519674a3fc0 (patch) | |
tree | 08463c03f145dbdbc05765be83be39a044063038 /lib/libssl/t1_lib.c | |
parent | Add checks for SH downgrade sentinel and HRR hash in appstest.sh (diff) | |
download | wireguard-openbsd-ddd788dfabd59e8e8d6989506b2f2519674a3fc0.tar.xz wireguard-openbsd-ddd788dfabd59e8e8d6989506b2f2519674a3fc0.zip |
Mop up servername_done, which is unused.
ok beck@ inoguchi@ tb@
Diffstat (limited to 'lib/libssl/t1_lib.c')
-rw-r--r-- | lib/libssl/t1_lib.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libssl/t1_lib.c b/lib/libssl/t1_lib.c index fc828541cd4..580ae4b19b3 100644 --- a/lib/libssl/t1_lib.c +++ b/lib/libssl/t1_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_lib.c,v 1.166 2020/05/10 14:17:48 jsing Exp $ */ +/* $OpenBSD: t1_lib.c,v 1.167 2020/05/29 17:39:42 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -629,7 +629,6 @@ ssl_check_clienthello_tlsext_early(SSL *s) ssl3_send_alert(s, SSL3_AL_WARNING, al); return 1; case SSL_TLSEXT_ERR_NOACK: - s->internal->servername_done = 0; default: return 1; } @@ -737,14 +736,11 @@ ssl_check_serverhello_tlsext(SSL *s) switch (ret) { case SSL_TLSEXT_ERR_ALERT_FATAL: ssl3_send_alert(s, SSL3_AL_FATAL, al); - return -1; case SSL_TLSEXT_ERR_ALERT_WARNING: ssl3_send_alert(s, SSL3_AL_WARNING, al); - return 1; case SSL_TLSEXT_ERR_NOACK: - s->internal->servername_done = 0; default: return 1; } |