summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-04-30 19:15:48 +0000
committertb <>2023-04-30 19:15:48 +0000
commitf2f3a3e6551fa9a5a84a5e5d217b68f6440313eb (patch)
tree3a645fa944eb845eb7efefeb80ce5eecba7e9b60 /src
parent9060f2d758113ed371dcc4c99c382cbbc6ebb923 (diff)
downloadopenbsd-f2f3a3e6551fa9a5a84a5e5d217b68f6440313eb.tar.gz
openbsd-f2f3a3e6551fa9a5a84a5e5d217b68f6440313eb.tar.bz2
openbsd-f2f3a3e6551fa9a5a84a5e5d217b68f6440313eb.zip
Garbage collect BN_zero_ex()
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/bn_lib.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libcrypto/bn/bn_lib.c b/src/lib/libcrypto/bn/bn_lib.c
index 439bdb1e9d..389dd3ff3e 100644
--- a/src/lib/libcrypto/bn/bn_lib.c
+++ b/src/lib/libcrypto/bn/bn_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_lib.c,v 1.85 2023/04/25 19:57:59 tb Exp $ */ 1/* $OpenBSD: bn_lib.c,v 1.86 2023/04/30 19:15:48 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -601,12 +601,6 @@ BN_zero(BIGNUM *a)
601 a->top = 0; 601 a->top = 0;
602} 602}
603 603
604void
605BN_zero_ex(BIGNUM *a)
606{
607 BN_zero(a);
608}
609
610int 604int
611BN_one(BIGNUM *a) 605BN_one(BIGNUM *a)
612{ 606{