summaryrefslogtreecommitdiffstats
path: root/test/bntest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2023-01-12 10:17:01 +0100
committerHugo Landau <hlandau@openssl.org>2023-01-20 07:38:30 +0000
commit1b24b5a1b43c2af0a6c1cb2d196f5132ee723488 (patch)
treeaa0bca5897bb232450a806311e3959dfea031ed0 /test/bntest.c
parent7331e7ef79fe4499d81cc92249e9c97e9ff9291a (diff)
bin2bn(): When len==0, just return a zero BIGNUM
This allows calls with s==NULL and len==0 to be safe. It probably already was, but address sanitizers could still complain. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20033)
Diffstat (limited to 'test/bntest.c')
0 files changed, 0 insertions, 0 deletions