Correct description of BN_mask_bits
authorT.Yanagisawa <52776010+mogisawa@users.noreply.github.com>
Thu, 27 Aug 2020 02:11:23 +0000 (11:11 +0900)
committerPauli <paul.dale@oracle.com>
Fri, 28 Aug 2020 09:25:08 +0000 (19:25 +1000)
commitb6ef3c7089e887427cde8c550e28211dc0c22dd1
tree25b3420a671cbd39288851b0a5584bf0c6898cfa
parent33855c0af6046c2b36d1c541b0962e534fa6f8d9
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@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12727)
doc/man3/BN_set_bit.pod