From 61cec5adaacb358783c18aa07362f15824c1b274 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 23 May 2017 10:15:28 +0200 Subject: tls: Hide backend implementation details from users TLS is currently implemented over either OpenSSL or GnuTLS, with more backends likely to appear in the future. Currently, those backend libraries are part of the protocol names used during e.g. the configure stage of a build. Hide those details behind a generically-named declaration for the TLS protocol to avoid leaking those details into the configuration stage. --- libavformat/tls.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavformat/tls.h') diff --git a/libavformat/tls.h b/libavformat/tls.h index 22cb6250b4..94f30ab854 100644 --- a/libavformat/tls.h +++ b/libavformat/tls.h @@ -26,8 +26,6 @@ #include "url.h" #include "libavutil/opt.h" -#define CONFIG_TLS_PROTOCOL (CONFIG_TLS_GNUTLS_PROTOCOL | CONFIG_TLS_OPENSSL_PROTOCOL) - typedef struct TLSShared { char *ca_file; int verify; -- cgit v1.2.3