Skip to content

Commit

Permalink
Build openssl with TLS trace support
Browse files Browse the repository at this point in the history
Support "openssl s_client -trace" and "openssl s_server -trace".

Only for OpenSSL 1.0.2g and 1.1.1a: 1.0.1j didn't have this feature yet.
  • Loading branch information
gilles-peskine-arm committed Oct 12, 2021
1 parent bab0bf6 commit 9323424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/docker_files/ubuntu-16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ ENV PATH=/opt/gcc-arm-none-eabi-5_4-2016q3/bin:$PATH
# Install openssl 1.0.2g - main version, in the PATH
RUN wget -q https://www.openssl.org/source/old/1.0.2/openssl-1.0.2g.tar.gz && \
tar -zxf openssl-1.0.2g.tar.gz && cd openssl-1.0.2g && \
./config --openssldir=/usr/local/openssl-1.0.2g && \
./config --openssldir=/usr/local/openssl-1.0.2g enable-ssl-trace && \
make clean && make && make install && cd .. && \
rm -rf openssl-1.0.2g*

Expand All @@ -173,7 +173,7 @@ ENV OPENSSL_LEGACY=/usr/local/openssl-1.0.1j/bin/openssl
# Install openssl 1.1.1a - "next" version
RUN wget -q https://www.openssl.org/source/openssl-1.1.1a.tar.gz && \
tar -zxf openssl-1.1.1a.tar.gz && cd openssl-1.1.1a && \
./config --prefix=/usr/local/openssl-1.1.1a -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' && \
./config --prefix=/usr/local/openssl-1.1.1a -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' enable-ssl-trace && \
make clean && make && make install && cd .. && \
rm -rf openssl-1.1.1a*

Expand Down

0 comments on commit 9323424

Please sign in to comment.