summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_oct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_oct.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_oct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ecp_oct.c b/src/lib/libcrypto/ec/ecp_oct.c
index da9eccfe6a..3d50f707c0 100644
--- a/src/lib/libcrypto/ec/ecp_oct.c
+++ b/src/lib/libcrypto/ec/ecp_oct.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_oct.c,v 1.9 2018/07/10 22:06:14 tb Exp $ */ 1/* $OpenBSD: ecp_oct.c,v 1.10 2018/07/15 05:38:48 jsg Exp $ */
2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> 2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de>
3 * for the OpenSSL project. 3 * for the OpenSSL project.
4 * Includes code written by Bodo Moeller for the OpenSSL project. 4 * Includes code written by Bodo Moeller for the OpenSSL project.
@@ -190,7 +190,7 @@ ec_GFp_simple_set_compressed_coordinates(const EC_GROUP * group,
190 190
191 ret = 1; 191 ret = 1;
192 192
193 err: 193err:
194 BN_CTX_end(ctx); 194 BN_CTX_end(ctx);
195 BN_CTX_free(new_ctx); 195 BN_CTX_free(new_ctx);
196 return ret; 196 return ret;
@@ -294,7 +294,7 @@ ec_GFp_simple_point2oct(const EC_GROUP * group, const EC_POINT * point, point_co
294 BN_CTX_free(new_ctx); 294 BN_CTX_free(new_ctx);
295 return ret; 295 return ret;
296 296
297 err: 297err:
298 if (used_ctx) 298 if (used_ctx)
299 BN_CTX_end(ctx); 299 BN_CTX_end(ctx);
300 BN_CTX_free(new_ctx); 300 BN_CTX_free(new_ctx);
@@ -388,7 +388,7 @@ ec_GFp_simple_oct2point(const EC_GROUP * group, EC_POINT * point,
388 } 388 }
389 ret = 1; 389 ret = 1;
390 390
391 err: 391err:
392 BN_CTX_end(ctx); 392 BN_CTX_end(ctx);
393 BN_CTX_free(new_ctx); 393 BN_CTX_free(new_ctx);
394 return ret; 394 return ret;