diff options
author | tb <> | 2022-02-07 19:49:56 +0000 |
---|---|---|
committer | tb <> | 2022-02-07 19:49:56 +0000 |
commit | 2a7a0fc6126681d5d309772a47c2a7aa45bb00cd (patch) | |
tree | ac6407f70fcd8e0ab79125eccf3633f4e4fa39c9 /src/lib/libcrypto/objects/obj_dat.c | |
parent | ba7fe30fcf200c09c61915f9a3cd9eb665e5e277 (diff) | |
download | openbsd-2a7a0fc6126681d5d309772a47c2a7aa45bb00cd.tar.gz openbsd-2a7a0fc6126681d5d309772a47c2a7aa45bb00cd.tar.bz2 openbsd-2a7a0fc6126681d5d309772a47c2a7aa45bb00cd.zip |
Avoid a NULL dereference in BN_mod_exp2_mont()
This is a very rarely used function and the crash is hard to reach in
practice. Instead of implementing BN_is_odd() badly by hand, just call
the real thing.
Reported by Guido Vranken
ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions