summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_recp.c
diff options
context:
space:
mode:
authortb <>2025-01-06 13:47:37 +0000
committertb <>2025-01-06 13:47:37 +0000
commit050d7b63aec03af589ab579b9e557e982b8fd285 (patch)
tree53b26a13f2cedeb4bd2dd8e410a76903eb4014d4 /src/lib/libcrypto/bn/bn_recp.c
parent0a040d15f10e359086a81abb9cece058587b248c (diff)
downloadopenbsd-050d7b63aec03af589ab579b9e557e982b8fd285.tar.gz
openbsd-050d7b63aec03af589ab579b9e557e982b8fd285.tar.bz2
openbsd-050d7b63aec03af589ab579b9e557e982b8fd285.zip
BN_div_recp() can't be static since it is directly exercised by bn_test.c
Diffstat (limited to 'src/lib/libcrypto/bn/bn_recp.c')
-rw-r--r--src/lib/libcrypto/bn/bn_recp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_recp.c b/src/lib/libcrypto/bn/bn_recp.c
index c567a5b017..c9a83f8489 100644
--- a/src/lib/libcrypto/bn/bn_recp.c
+++ b/src/lib/libcrypto/bn/bn_recp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_recp.c,v 1.20 2025/01/06 12:35:27 tb Exp $ */ 1/* $OpenBSD: bn_recp.c,v 1.21 2025/01/06 13:47:37 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 *
@@ -135,7 +135,7 @@ err:
135 return (ret); 135 return (ret);
136} 136}
137 137
138static int 138int
139BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, 139BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp,
140 BN_CTX *ctx) 140 BN_CTX *ctx)
141{ 141{