summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_clnt.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2018-08-14 16:31:02 +0000
committerjsing <jsing@openbsd.org>2018-08-14 16:31:02 +0000
commitc53a3d55e098711d706f1fdb9d3dc84db7e64c24 (patch)
treed1ce1471b1fa392950e6d24636f57a2cfe3ac51c /lib/libssl/ssl_clnt.c
parentActually check the return values for EVP_Sign* and EVP_Verify*. (diff)
downloadwireguard-openbsd-c53a3d55e098711d706f1fdb9d3dc84db7e64c24.tar.xz
wireguard-openbsd-c53a3d55e098711d706f1fdb9d3dc84db7e64c24.zip
Remove now unused variable, that got left behind from a previous change.
Diffstat (limited to 'lib/libssl/ssl_clnt.c')
-rw-r--r--lib/libssl/ssl_clnt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/ssl_clnt.c b/lib/libssl/ssl_clnt.c
index dcd4da3634c..83b2c1be583 100644
--- a/lib/libssl/ssl_clnt.c
+++ b/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_clnt.c,v 1.28 2018/08/14 16:19:06 jsing Exp $ */
+/* $OpenBSD: ssl_clnt.c,v 1.29 2018/08/14 16:31:02 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1445,7 +1445,6 @@ ssl3_get_server_key_exchange(SSL *s)
long n, alg_k, alg_a;
EVP_PKEY *pkey = NULL;
const EVP_MD *md = NULL;
- RSA *rsa = NULL;
alg_k = S3I(s)->hs.new_cipher->algorithm_mkey;
alg_a = S3I(s)->hs.new_cipher->algorithm_auth;
@@ -1598,7 +1597,6 @@ ssl3_get_server_key_exchange(SSL *s)
err:
EVP_PKEY_free(pkey);
- RSA_free(rsa);
EVP_MD_CTX_cleanup(&md_ctx);
return (-1);