diff options
| author | jsing <> | 2018-08-14 16:31:02 +0000 |
|---|---|---|
| committer | jsing <> | 2018-08-14 16:31:02 +0000 |
| commit | 6c03c79c878867ba3e9e82a10e2cb110bc526f56 (patch) | |
| tree | fc3595928c38e6e7598c614f1d58c60ae4618fee /src/lib/libssl/ssl_clnt.c | |
| parent | 288abfc36cecbcfd9ea6764f060a9329f865ad28 (diff) | |
| download | openbsd-6c03c79c878867ba3e9e82a10e2cb110bc526f56.tar.gz openbsd-6c03c79c878867ba3e9e82a10e2cb110bc526f56.tar.bz2 openbsd-6c03c79c878867ba3e9e82a10e2cb110bc526f56.zip | |
Remove now unused variable, that got left behind from a previous change.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_clnt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c index dcd4da3634..83b2c1be58 100644 --- a/src/lib/libssl/ssl_clnt.c +++ b/src/lib/libssl/ssl_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_clnt.c,v 1.28 2018/08/14 16:19:06 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_clnt.c,v 1.29 2018/08/14 16:31:02 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 | * |
| @@ -1445,7 +1445,6 @@ ssl3_get_server_key_exchange(SSL *s) | |||
| 1445 | long n, alg_k, alg_a; | 1445 | long n, alg_k, alg_a; |
| 1446 | EVP_PKEY *pkey = NULL; | 1446 | EVP_PKEY *pkey = NULL; |
| 1447 | const EVP_MD *md = NULL; | 1447 | const EVP_MD *md = NULL; |
| 1448 | RSA *rsa = NULL; | ||
| 1449 | 1448 | ||
| 1450 | alg_k = S3I(s)->hs.new_cipher->algorithm_mkey; | 1449 | alg_k = S3I(s)->hs.new_cipher->algorithm_mkey; |
| 1451 | alg_a = S3I(s)->hs.new_cipher->algorithm_auth; | 1450 | alg_a = S3I(s)->hs.new_cipher->algorithm_auth; |
| @@ -1598,7 +1597,6 @@ ssl3_get_server_key_exchange(SSL *s) | |||
| 1598 | 1597 | ||
| 1599 | err: | 1598 | err: |
| 1600 | EVP_PKEY_free(pkey); | 1599 | EVP_PKEY_free(pkey); |
| 1601 | RSA_free(rsa); | ||
| 1602 | EVP_MD_CTX_cleanup(&md_ctx); | 1600 | EVP_MD_CTX_cleanup(&md_ctx); |
| 1603 | 1601 | ||
| 1604 | return (-1); | 1602 | return (-1); |
