[libressl] Cryptofuzz with negative bignums (#9692)

This commit is contained in:
Guido Vranken 2023-02-13 10:59:50 +01:00 committed by GitHub
parent 86025ccc82
commit eae5197af0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ cp $LIBRESSL_FUZZERS/oids.txt $OUT/x509.dict
# Cryptofuzz # Cryptofuzz
cd $SRC/cryptofuzz/ cd $SRC/cryptofuzz/
sed -i 's/kNegativeIntegers = false/kNegativeIntegers = true/g' config.h
if [[ $CFLAGS = *sanitize=memory* ]] if [[ $CFLAGS = *sanitize=memory* ]]
then then
export CXXFLAGS="$CXXFLAGS -DMSAN" export CXXFLAGS="$CXXFLAGS -DMSAN"