From c83e0ddc66b0c990eac3283a437e4e70eabd868d Mon Sep 17 00:00:00 2001 From: jsing <> Date: Tue, 7 Mar 2023 09:27:10 +0000 Subject: Call BN_free() instead of BN_clear_free(). BN_clear_free() is a wrapper that calls BN_free() - call BN_free() directly instead. ok tb@ --- src/lib/libcrypto/ec/ec_print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/ec/ec_print.c') diff --git a/src/lib/libcrypto/ec/ec_print.c b/src/lib/libcrypto/ec/ec_print.c index 1b85e82436..faa212f502 100644 --- a/src/lib/libcrypto/ec/ec_print.c +++ b/src/lib/libcrypto/ec/ec_print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_print.c,v 1.9 2022/11/26 16:08:52 tb Exp $ */ +/* $OpenBSD: ec_print.c,v 1.10 2023/03/07 09:27:10 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. * @@ -172,7 +172,7 @@ EC_POINT_hex2point(const EC_GROUP *group, const char *buf, ret = EC_POINT_bn2point(group, tmp_bn, point, ctx); - BN_clear_free(tmp_bn); + BN_free(tmp_bn); return ret; } -- cgit v1.2.3-55-g6feb