Rewrite bn_correct_top().
authorjsing <jsing@openbsd.org>
Wed, 30 Nov 2022 03:08:39 +0000 (03:08 +0000)
committerjsing <jsing@openbsd.org>
Wed, 30 Nov 2022 03:08:39 +0000 (03:08 +0000)
commitdcb8eaa9ef5f6301ba59d0727dce04ed726d84b8
treefa7a055bf61653ec1b969d68eddbc048ca25fae1
parent1fae1118a3567b295eba9cc1c8d865a1e85ba667
Rewrite bn_correct_top().

bn_correct_top() is currently a macro and far more complex than it needs
to be - rewrite it as a function.

ok tb@
lib/libcrypto/bn/bn_lib.c
lib/libcrypto/bn/bn_local.h