diff options
Diffstat (limited to 'crypto/ec/ecp_nistp224.c')
-rw-r--r-- | crypto/ec/ecp_nistp224.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ecp_nistp224.c b/crypto/ec/ecp_nistp224.c index a9f40d09c7..2ad9903c90 100644 --- a/crypto/ec/ecp_nistp224.c +++ b/crypto/ec/ecp_nistp224.c @@ -1286,7 +1286,7 @@ int ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p, BN_CTX *new_ctx = NULL; if (ctx == NULL) - new_ctx = BN_CTX_new(); + ctx = new_ctx = BN_CTX_new(); #endif if (ctx == NULL) return 0; @@ -1606,7 +1606,7 @@ int ec_GFp_nistp224_precompute_mult(EC_GROUP *group, BN_CTX *ctx) #ifndef FIPS_MODE if (ctx == NULL) - new_ctx = BN_CTX_new(); + ctx = new_ctx = BN_CTX_new(); #endif if (ctx == NULL) return 0; |