tls: fix compilation when both gnutls and openssl are enabled
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
f99fed733d
commit
e91fbfd9cf
@ -239,7 +239,7 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op
|
|||||||
struct addrinfo hints = { 0 }, *ai = NULL;
|
struct addrinfo hints = { 0 }, *ai = NULL;
|
||||||
const char *proxy_path;
|
const char *proxy_path;
|
||||||
int use_proxy;
|
int use_proxy;
|
||||||
#if CONFIG_OPENSSL
|
#if CONFIG_OPENSSL && !CONFIG_GNUTLS
|
||||||
BIO *bio;
|
BIO *bio;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user