summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_nistz256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistz256.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_nistz256.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistz256.c b/src/lib/libcrypto/ec/ecp_nistz256.c
index 3d52938721..71c2952d8c 100644
--- a/src/lib/libcrypto/ec/ecp_nistz256.c
+++ b/src/lib/libcrypto/ec/ecp_nistz256.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_nistz256.c,v 1.4 2018/07/10 22:06:14 tb Exp $ */ 1/* $OpenBSD: ecp_nistz256.c,v 1.5 2018/07/15 05:38:48 jsg Exp $ */
2/* Copyright (c) 2014, Intel Corporation. 2/* Copyright (c) 2014, Intel Corporation.
3 * 3 *
4 * Permission to use, copy, modify, and/or distribute this software for any 4 * Permission to use, copy, modify, and/or distribute this software for any
@@ -565,7 +565,7 @@ ecp_nistz256_windowed_mul(const EC_GROUP *group, P256_POINT *r,
565 } 565 }
566 566
567 ret = 1; 567 ret = 1;
568 err: 568err:
569 free(table); 569 free(table);
570 free(p_str); 570 free(p_str);
571 free(scalars); 571 free(scalars);
@@ -712,7 +712,7 @@ ecp_nistz256_mult_precompute(EC_GROUP *group, BN_CTX *ctx)
712 ec_pre_comp = NULL; 712 ec_pre_comp = NULL;
713 ret = 1; 713 ret = 1;
714 714
715 err: 715err:
716 if (ctx != NULL) 716 if (ctx != NULL)
717 BN_CTX_end(ctx); 717 BN_CTX_end(ctx);
718 BN_CTX_free(new_ctx); 718 BN_CTX_free(new_ctx);
@@ -985,7 +985,7 @@ ecp_nistz256_points_mul(const EC_GROUP *group, EC_POINT *r,
985 985
986 ret = 1; 986 ret = 1;
987 987
988 err: 988err:
989 if (ctx) 989 if (ctx)
990 BN_CTX_end(ctx); 990 BN_CTX_end(ctx);
991 BN_CTX_free(new_ctx); 991 BN_CTX_free(new_ctx);