diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nist.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ecp_nist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nist.c b/src/lib/libcrypto/ec/ecp_nist.c index 8aa9f49592..027a07d5c0 100644 --- a/src/lib/libcrypto/ec/ecp_nist.c +++ b/src/lib/libcrypto/ec/ecp_nist.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ecp_nist.c,v 1.11 2018/07/10 22:06:14 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nist.c,v 1.12 2018/07/15 05:38:48 jsg Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -151,7 +151,7 @@ ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, | |||
| 151 | 151 | ||
| 152 | ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx); | 152 | ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx); |
| 153 | 153 | ||
| 154 | err: | 154 | err: |
| 155 | BN_CTX_end(ctx); | 155 | BN_CTX_end(ctx); |
| 156 | BN_CTX_free(new_ctx); | 156 | BN_CTX_free(new_ctx); |
| 157 | return ret; | 157 | return ret; |
| @@ -179,7 +179,7 @@ ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, | |||
| 179 | goto err; | 179 | goto err; |
| 180 | 180 | ||
| 181 | ret = 1; | 181 | ret = 1; |
| 182 | err: | 182 | err: |
| 183 | BN_CTX_free(ctx_new); | 183 | BN_CTX_free(ctx_new); |
| 184 | return ret; | 184 | return ret; |
| 185 | } | 185 | } |
| @@ -206,7 +206,7 @@ ec_GFp_nist_field_sqr(const EC_GROUP * group, BIGNUM * r, const BIGNUM * a, | |||
| 206 | goto err; | 206 | goto err; |
| 207 | 207 | ||
| 208 | ret = 1; | 208 | ret = 1; |
| 209 | err: | 209 | err: |
| 210 | BN_CTX_free(ctx_new); | 210 | BN_CTX_free(ctx_new); |
| 211 | return ret; | 211 | return ret; |
| 212 | } | 212 | } |
