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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_srvr.c b/src/lib/libssl/ssl_srvr.c
index 1e92640835..3b848f4b40 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.86 2020/10/03 18:01:55 jsing Exp $ */ 1/* $OpenBSD: ssl_srvr.c,v 1.87 2020/10/11 02:22:27 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 *
@@ -868,7 +868,7 @@ ssl3_get_client_hello(SSL *s)
868 s->client_version = client_version; 868 s->client_version = client_version;
869 s->version = shared_version; 869 s->version = shared_version;
870 870
871 if ((method = ssl_get_server_method(shared_version)) == NULL) { 871 if ((method = ssl_get_method(shared_version)) == NULL) {
872 SSLerror(s, ERR_R_INTERNAL_ERROR); 872 SSLerror(s, ERR_R_INTERNAL_ERROR);
873 goto err; 873 goto err;
874 } 874 }