summaryrefslogtreecommitdiff
path: root/libavformat/tls.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-05-23 10:15:28 +0200
committerDiego Biurrun <diego@biurrun.de>2017-06-02 10:41:52 +0200
commit61cec5adaacb358783c18aa07362f15824c1b274 (patch)
tree974bfc9f4461436d5e9f3584051b8d9e6327b11f /libavformat/tls.h
parent5edded9df31bc4712a023f89941b4c278f1bd6f5 (diff)
downloadffmpeg-61cec5adaacb358783c18aa07362f15824c1b274.tar.gz
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.
Diffstat (limited to 'libavformat/tls.h')
-rw-r--r--libavformat/tls.h2
1 files changed, 0 insertions, 2 deletions
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;