mbedtls: fix build (#10087)

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57995

Apply the same fix from openssl
https://github.com/google/oss-fuzz/pull/10063

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2023-04-14 16:12:47 +01:00 committed by GitHub
parent df76eb3f27
commit 5e70fbdf53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ RUN git clone --recursive --depth 1 -b development https://github.com/Mbed-TLS/m
RUN pip3 install -r $SRC/mbedtls/scripts/basic.requirements.txt
RUN git clone --depth 1 https://github.com/google/boringssl.git boringssl
RUN git clone --depth 1 https://github.com/openssl/openssl.git openssl
RUN git clone --depth 1 https://github.com/openssl/openssl.git openssl && \
cd openssl && \
git submodule update --init fuzz/corpora
WORKDIR mbedtls
COPY build.sh $SRC/