You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
guidovranken/wolf-ssl-ssh-fuzzers has an issue with using an older OCSP
function declaration. This updates the Docker image to look at
JacobBarthelmeh/wolf-ssl-ssh-fuzzers which contains a fix for the
following error.
```
E_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link -DWOLFSSL_STATIC_PSK -I .. -I /src/wolf-ssl-ssh-fuzzers/oss-fuzz/projects/wolf-ssl-ssh/fuzzers/include ocsp.c -c -o ocsp.o
ocsp.c:14:47: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'byte *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
14 | InitOcspResponse(&resp, &single, &status, data, size, NULL);
| ^~~~
../wolfssl/wolfcrypt/asn.h:2582:48: note: passing argument to parameter 'source' here
2582 | CertStatus* status, byte* source, word32 inSz, void* heap);
| ^
ocsp.c:15:44: error: too few arguments to function call, expected 5, have 4
15 | OcspResponseDecode(&resp, NULL, NULL, 1);
| ~~~~~~~~~~~~~~~~~~ ^
../wolfssl/wolfcrypt/asn.h:2584:19: note: 'OcspResponseDecode' declared here
2584 | WOLFSSL_LOCAL int OcspResponseDecode(OcspResponse* resp, void* cm, void* heap,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2585 | int noVerifyCert, int noVerifySignature);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
```
Botan was having issues being built when trying locally. This PR removes
building Botan.
Botan error:
```
| ^
/src/botan/build/include/public/botan/api.h:73:36: note: expanded from macro 'BOTAN_DEPRECATED'
73 | #define BOTAN_DEPRECATED(msg) [[deprecated(msg)]]
| ^
bn_ops.cpp:416:59: error: no viable conversion from 'Botan::Modular_Reducer' to incomplete type 'const Barrett_Reduction'
416 | if ( Botan::is_bailie_psw_probable_prime(bn[0].Ref(), mod_n) ) {
| ^~~~~
/src/botan/build/include/internal/botan/internal/primality.h:17:7: note: forward declaration of 'Botan::Barrett_Reduction'
17 | class Barrett_Reduction;
```
RUN git clone --depth 1 https://github.com/wolfSSL/wolfsm
22
22
RUN git clone --depth 1 https://github.com/wolfSSL/wolfssh.git
23
23
RUN git clone --depth 1 https://github.com/guidovranken/fuzzing-headers.git
24
-
RUN git clone --depth 1 https://github.com/guidovranken/wolf-ssl-ssh-fuzzers
24
+
RUN git clone --depth 1 https://github.com/JacobBarthelmeh/wolf-ssl-ssh-fuzzers
25
25
RUN git clone --depth 1 https://github.com/MozillaSecurity/cryptofuzz
26
-
RUN git clone --depth 1 https://github.com/randombit/botan.git
27
26
RUN git clone --depth 1 https://github.com/google/wycheproof.git
28
27
RUN wget https://archives.boost.io/release/1.82.0/source/boost_1_82_0.tar.bz2
29
28
RUN git clone https://github.com/wolfssl/oss-fuzz-targets --depth 1 $SRC/fuzz-targets
@@ -40,12 +39,6 @@ RUN gsutil cp gs://cryptofuzz-backup.clusterfuzz-external.appspot.com/corpus/lib
40
39
RUN gsutil cp gs://cryptofuzz-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/cryptofuzz_cryptofuzz-boringssl/public.zip $SRC/corpus_cryptofuzz-boringssl.zip
41
40
RUN gsutil cp gs://cryptofuzz-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/cryptofuzz_cryptofuzz-nss/public.zip $SRC/corpus_cryptofuzz-nss.zip
42
41
43
-
# Botan corpora, which require a special import procedure
44
-
RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_p256/public.zip $SRC/corpus_botan_ecc_p256.zip
45
-
RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_p384/public.zip $SRC/corpus_botan_ecc_p384.zip
46
-
RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_p521/public.zip $SRC/corpus_botan_ecc_p521.zip
47
-
RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_bp256/public.zip $SRC/corpus_botan_ecc_bp256.zip
48
-
49
42
# OpenSSL/LibreSSL corpora, which require a special import procedure
50
43
RUN gsutil cp gs://openssl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/openssl_bignum/public.zip $SRC/corpus_openssl_expmod.zip
51
44
RUN gsutil cp gs://libressl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/libressl_bignum/public.zip $SRC/corpus_libressl_expmod.zip
0 commit comments