[openssl] OpenSSL_1_1_1-stable update
Matt Caswell
matt at openssl.org
Thu Nov 5 10:54:11 UTC 2020
The branch OpenSSL_1_1_1-stable has been updated
via 6e933b35492a4dc3370b9f49890646dadca82cd8 (commit)
from 25fa346e906c4f487727cfebd5a40740709e677b (commit)
- Log -----------------------------------------------------------------
commit 6e933b35492a4dc3370b9f49890646dadca82cd8
Author: T.Yanagisawa <52776010+mogisawa at users.noreply.github.com>
Date: Thu Aug 27 11:11:23 2020 +0900
Correct description of BN_mask_bits
CLA: trivial
Correct right shift to left shift.
Pseudo code `a&=~((~0)>>n)` means "get higher n-bits of a", but actually crypto lib gives lower n-bits.
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <paul.dale at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12727)
(cherry picked from commit b6ef3c7089e887427cde8c550e28211dc0c22dd1)
-----------------------------------------------------------------------
Summary of changes:
doc/man3/BN_set_bit.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/man3/BN_set_bit.pod b/doc/man3/BN_set_bit.pod
index 67c2bac241..6e0a11a24b 100644
--- a/doc/man3/BN_set_bit.pod
+++ b/doc/man3/BN_set_bit.pod
@@ -33,7 +33,7 @@ error occurs if B<a> is shorter than B<n> bits.
BN_is_bit_set() tests if bit B<n> in B<a> is set.
BN_mask_bits() truncates B<a> to an B<n> bit number
-(C<a&=~((~0)E<gt>E<gt>n)>). An error occurs if B<a> already is
+(C<a&=~((~0)E<lt>E<lt>n)>). An error occurs if B<a> already is
shorter than B<n> bits.
BN_lshift() shifts B<a> left by B<n> bits and places the result in
More information about the openssl-commits
mailing list