summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_srvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_srvr.c')
-rw-r--r--src/lib/libssl/ssl_srvr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_srvr.c b/src/lib/libssl/ssl_srvr.c
index 09ea657174..a48cf246da 100644
--- a/src/lib/libssl/ssl_srvr.c
+++ b/src/lib/libssl/ssl_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_srvr.c,v 1.9 2017/03/05 14:24:12 jsing Exp $ */ 1/* $OpenBSD: ssl_srvr.c,v 1.10 2017/03/05 14:39:53 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1045,6 +1045,9 @@ ssl3_get_client_hello(SSL *s)
1045 S3I(s)->tmp.new_cipher = s->session->cipher; 1045 S3I(s)->tmp.new_cipher = s->session->cipher;
1046 } 1046 }
1047 1047
1048 if (!tls1_handshake_hash_init(s))
1049 goto err;
1050
1048 alg_k = S3I(s)->tmp.new_cipher->algorithm_mkey; 1051 alg_k = S3I(s)->tmp.new_cipher->algorithm_mkey;
1049 if (!(SSL_USE_SIGALGS(s) || (alg_k & SSL_kGOST)) || 1052 if (!(SSL_USE_SIGALGS(s) || (alg_k & SSL_kGOST)) ||
1050 !(s->verify_mode & SSL_VERIFY_PEER)) { 1053 !(s->verify_mode & SSL_VERIFY_PEER)) {