summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man
diff options
context:
space:
mode:
authortb <>2025-12-15 12:09:46 +0000
committertb <>2025-12-15 12:09:46 +0000
commit341829195e0c845cf26339768f275f021b69fedc (patch)
treedc3752844fd792308ae3945985b5fed6b9382317 /src/lib/libcrypto/man
parent20d6e4cb31df6885cb225ebc24e9924458ff01aa (diff)
downloadopenbsd-341829195e0c845cf26339768f275f021b69fedc.tar.gz
openbsd-341829195e0c845cf26339768f275f021b69fedc.tar.bz2
openbsd-341829195e0c845cf26339768f275f021b69fedc.zip
BN_get_word(): return (BN_ULONG)-1 on error rather than BN_MASK2
While the latter is more general in that it also works on 1-complement achitectures, we don't care about that. Adjust documentation and the only error check for it in libcrypto. ok deraadt
Diffstat (limited to 'src/lib/libcrypto/man')
-rw-r--r--src/lib/libcrypto/man/BN_zero.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BN_zero.3 b/src/lib/libcrypto/man/BN_zero.3
index 18a31a1080..d94a2a10da 100644
--- a/src/lib/libcrypto/man/BN_zero.3
+++ b/src/lib/libcrypto/man/BN_zero.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BN_zero.3,v 1.15 2025/06/14 06:48:47 tb Exp $ 1.\" $OpenBSD: BN_zero.3,v 1.16 2025/12/15 12:09:46 tb Exp $
2.\" full merge up to: OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400 2.\" full merge up to: OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
3.\" selective merge up to: OpenSSL b713c4ff Jan 22 14:41:09 2018 -0500 3.\" selective merge up to: OpenSSL b713c4ff Jan 22 14:41:09 2018 -0500
4.\" 4.\"
@@ -67,7 +67,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 68.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 69.\"
70.Dd $Mdocdate: June 14 2025 $ 70.Dd $Mdocdate: December 15 2025 $
71.Dt BN_ZERO 3 71.Dt BN_ZERO 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
@@ -132,7 +132,7 @@ This constant is useful for comparisons and assignments.
132.Fn BN_get_word 132.Fn BN_get_word
133returns the value 133returns the value
134.Fa a , 134.Fa a ,
135or a number with all bits set if 135or (BN_ULONG)\-1 if
136.Fa a 136.Fa a
137cannot be represented as a 137cannot be represented as a
138.Vt BN_ULONG . 138.Vt BN_ULONG .