-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure BN_ULONG is correctly defined for 32-bit architectures
Use __SIZEOF_LONG__ to define either SIXTY_FOUR_BIT_LONG or THIRTY_TWO_BIT consistenly in crypto's bn_conf.h and openssl's configuration.h. Otherwise, for example on i386, the openssl bignum routines will attempt to use 32-bit shifts on 32-bit unsigned longs, which is undefined behavior.
- Loading branch information
1 parent
5c15257
commit 61d17d8
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters