summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/client/clienttest.c
diff options
context:
space:
mode:
authortb <>2022-02-07 19:49:56 +0000
committertb <>2022-02-07 19:49:56 +0000
commit85d4f87943d9be28ebbe3103b55c264e0570f547 (patch)
treeac6407f70fcd8e0ab79125eccf3633f4e4fa39c9 /src/regress/lib/libssl/client/clienttest.c
parent4f6fe11c9458f94a9e6844c0eefb70e0242edd96 (diff)
downloadopenbsd-85d4f87943d9be28ebbe3103b55c264e0570f547.tar.gz
openbsd-85d4f87943d9be28ebbe3103b55c264e0570f547.tar.bz2
openbsd-85d4f87943d9be28ebbe3103b55c264e0570f547.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/regress/lib/libssl/client/clienttest.c')
0 files changed, 0 insertions, 0 deletions