REORG: sample: move the crypto samples to ssl_sample.c
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 13:37:17 +0000 (15:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:41:14 +0000 (01:41 +0200)
commit99ea188c0e3f310a920d9d908f3c4a3e7cffa3f1
treed48082fd5aab8c0b9b3d66e7991b23b426fc94f4
parent82531f67304e0368fc8ede3131e142884401290c
REORG: sample: move the crypto samples to ssl_sample.c

These ones require openssl and are only built when it's enabled. There's
no point keeping them in sample.c when ssl_sample.c already deals with this
and the required includes. This also allows to remove openssl-compat.h
from sample.c and to further reduce the number of inclusions of openssl
includes, and the build time is now down to under 8 seconds.
src/sample.c
src/ssl_sample.c