summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_ctx.c
diff options
context:
space:
mode:
authortb <>2023-04-25 16:41:29 +0000
committertb <>2023-04-25 16:41:29 +0000
commite385d95ccac47b1980003c281412c39ead2aeb83 (patch)
tree14db9b6af740f0f969c5bab117ccbffced715568 /src/lib/libcrypto/bn/bn_ctx.c
parent2d1b3e113eea3650fdaacc20319a54a0205f5f19 (diff)
downloadopenbsd-e385d95ccac47b1980003c281412c39ead2aeb83.tar.gz
openbsd-e385d95ccac47b1980003c281412c39ead2aeb83.tar.bz2
openbsd-e385d95ccac47b1980003c281412c39ead2aeb83.zip
Remove the no longer used BN_CTX_init()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/bn/bn_ctx.c')
-rw-r--r--src/lib/libcrypto/bn/bn_ctx.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libcrypto/bn/bn_ctx.c b/src/lib/libcrypto/bn/bn_ctx.c
index 5b05e01878..357eda1783 100644
--- a/src/lib/libcrypto/bn/bn_ctx.c
+++ b/src/lib/libcrypto/bn/bn_ctx.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_ctx.c,v 1.20 2023/01/14 15:23:27 jsing Exp $ */ 1/* $OpenBSD: bn_ctx.c,v 1.21 2023/04/25 16:41:29 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -72,12 +72,6 @@ BN_CTX_new(void)
72} 72}
73 73
74void 74void
75BN_CTX_init(BN_CTX *bctx)
76{
77 memset(bctx, 0, sizeof(*bctx));
78}
79
80void
81BN_CTX_free(BN_CTX *bctx) 75BN_CTX_free(BN_CTX *bctx)
82{ 76{
83 size_t i; 77 size_t i;