diff options
author | 2016-11-04 19:11:43 +0000 | |
---|---|---|
committer | 2016-11-04 19:11:43 +0000 | |
commit | de115dad1e656c3986e76d9c8b4187809249b249 (patch) | |
tree | 3eba9f3f4e05fd780bc26658efcc0a2bc8e3ab81 /lib/libssl/s3_clnt.c | |
parent | sync (diff) | |
download | wireguard-openbsd-de115dad1e656c3986e76d9c8b4187809249b249.tar.xz wireguard-openbsd-de115dad1e656c3986e76d9c8b4187809249b249.zip |
Rename ssl3_get_key_exchange() to ssl3_get_server_key_exchange(), since
that's what it really is.
ok miod@
Diffstat (limited to 'lib/libssl/s3_clnt.c')
-rw-r--r-- | lib/libssl/s3_clnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/s3_clnt.c b/lib/libssl/s3_clnt.c index 6ec97e95be6..dd5121366de 100644 --- a/lib/libssl/s3_clnt.c +++ b/lib/libssl/s3_clnt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_clnt.c,v 1.142 2016/11/04 18:42:26 jsing Exp $ */ +/* $OpenBSD: s3_clnt.c,v 1.143 2016/11/04 19:11:43 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -310,7 +310,7 @@ ssl3_connect(SSL *s) case SSL3_ST_CR_KEY_EXCH_A: case SSL3_ST_CR_KEY_EXCH_B: - ret = ssl3_get_key_exchange(s); + ret = ssl3_get_server_key_exchange(s); if (ret <= 0) goto end; s->state = SSL3_ST_CR_CERT_REQ_A; @@ -1309,7 +1309,7 @@ ssl3_get_server_kex_ecdhe(SSL *s, EVP_PKEY **pkey, unsigned char **pp, long *nn) } int -ssl3_get_key_exchange(SSL *s) +ssl3_get_server_key_exchange(SSL *s) { unsigned char *q, md_buf[EVP_MAX_MD_SIZE*2]; EVP_MD_CTX md_ctx; |