summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecp_nist.c
diff options
context:
space:
mode:
authorLaszlo Papp <djszapi@archlinux.us>2014-08-18 17:23:30 -0400
committerRich Salz <rsalz@akamai.com>2014-08-20 16:36:20 -0400
commit09ec8c8e89c72b8606516f23fc60cef21205fa07 (patch)
tree758b9eb484bfb40e8636c88cc1f1a6379240a5a2 /crypto/ec/ecp_nist.c
parent2893a302a9b6a70161d1859d985a52af11b2195d (diff)
PR2490: Remove unused local variable bn ecp_nist.c
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/ec/ecp_nist.c')
-rw-r--r--crypto/ec/ecp_nist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/ec/ecp_nist.c b/crypto/ec/ecp_nist.c
index ad9bb70181..906d41003d 100644
--- a/crypto/ec/ecp_nist.c
+++ b/crypto/ec/ecp_nist.c
@@ -125,13 +125,11 @@ int ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p,
{
int ret = 0;
BN_CTX *new_ctx = NULL;
- BIGNUM *tmp_bn;
if (ctx == NULL)
if ((ctx = new_ctx = BN_CTX_new()) == NULL) return 0;
BN_CTX_start(ctx);
- if ((tmp_bn = BN_CTX_get(ctx)) == NULL) goto err;
if (BN_ucmp(BN_get0_nist_prime_192(), p) == 0)
group->field_mod_func = BN_nist_mod_192;