]> git.ipfire.org Git - thirdparty/openssl.git/commit
Enhance documentation for `BN_mask_bits()`
authorerbsland-dev <github@erbsland.dev>
Mon, 8 Jul 2024 10:35:55 +0000 (12:35 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 10 Jul 2024 09:49:00 +0000 (11:49 +0200)
commit2a45839778955ffcab01918f10544d46e42f9a5b
tree60063bf198f05375ea9107c6a160639b7c1532da
parent21dfb975968d73b9cd40835d2cd436602079e853
Enhance documentation for `BN_mask_bits()`

Fixes #5537

Added a note that the error check for `BN_mask_bits()` depends
on the internal representation that depends on the platform's word size.
Included a reference to the `BN_num_bits()` function for precise bit checking.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24812)
doc/man3/BN_set_bit.pod