[libfido2] Corpus seed moved outside of repo, update build.sh. (#3486)

* [libfido2] Corpus moved outside of repo, update build.sh.

Fixes fuzzing build failure #21144

* Fetch seed corpus when building the container instead

* Use "ADD" instead of "RUN curl"

Co-authored-by: Max Moroz <dor3s1@gmail.com>
This commit is contained in:
Gabriel Kihlman 2020-03-10 16:41:00 +01:00 committed by GitHub
parent f1c65bccf2
commit b2e55225ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -21,5 +21,6 @@ RUN apt-get install -y cmake libudev-dev pkg-config chrpath
RUN git clone --branch v0.5.0 https://github.com/PJK/libcbor
RUN git clone --branch OpenSSL_1_1_1-stable https://github.com/openssl/openssl
RUN git clone https://github.com/Yubico/libfido2
ADD https://ambientworks.net/libfido2/corpus.tgz libfido2/fuzz/corpus.tgz
WORKDIR libfido2
COPY build.sh $SRC/