Commit 6f1e14eb authored by Andreas Schneider's avatar Andreas Schneider Committed by Anton Khirnov

avformat/gnutls: Use the systems default crypto policy

We should use the systems crypto policy by default. If there is no
system policy, gnutls will use the "NORMAL" policy.
Signed-off-by: 's avatarAndreas Schneider <asn@cryptomilk.org>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 0da255dd
......@@ -192,7 +192,7 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op
gnutls_transport_set_pull_function(p->session, gnutls_url_pull);
gnutls_transport_set_push_function(p->session, gnutls_url_push);
gnutls_transport_set_ptr(p->session, p);
gnutls_priority_set_direct(p->session, "NORMAL", NULL);
gnutls_set_default_priority(p->session);
do {
if (ff_check_interrupt(&h->interrupt_callback)) {
ret = AVERROR_EXIT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment