tlsdate: Fix build with OpenSSL 1.1.1
Deprecation warnings popped up that are causing build breakage due to
-Werror. Suppress the warnings so we can retain compatibility with
older TLS versions requested on the command line for now.
Note that with modern OpenSSL, one would use TLS_client_method() and
restrict protocol versions via SSL_CTX_set_{min,max}_proto_version,
but that's unfortunately not available on 1.0.2.
BUG=chromium:736583
TEST=tlsdate builds successfully against OpenSSL 1.1.1
Change-Id: I249af6e53ac769eede816e077a12b9a7a22933f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/tlsdate/+/2053804
Tested-by: Mattias Nissler <mnissler@chromium.org>
Commit-Queue: Mattias Nissler <mnissler@chromium.org>
Auto-Submit: Mattias Nissler <mnissler@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
1 file changed