mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-10-10 19:36:32 +00:00
Restore old ciphers in BoringSSL
BoringSSL removed some old and weak cipehrs from OpenSSL. It appears as though Safari still uses some of them. The included patch restores them, so that using them in the "--ciphers" option to curl will add them to the client's list of supported ciphers. These ciphers may not actually work if the server chooses to use them, because the "real" code to handle them is missing. But since they are considered weak it is unlikely to happen.
This commit is contained in:
@@ -16,7 +16,9 @@ RUN curl -L https://github.com/google/boringssl/archive/${BORING_SSL_COMMIT}.zip
|
||||
|
||||
# Compile BoringSSL.
|
||||
# See https://boringssl.googlesource.com/boringssl/+/HEAD/BUILDING.md
|
||||
COPY patches/boringssl-*.patch boringssl/
|
||||
RUN cd boringssl && \
|
||||
for p in $(ls boringssl-*.patch); do patch -p1 < $p; done && \
|
||||
mkdir build && cd build && \
|
||||
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on -GNinja .. && \
|
||||
ninja
|
||||
|
||||
Reference in New Issue
Block a user