* src/gnutls.c (ssl_connect_wget): Fix call to gnutls_set_default_priority()

This commit is contained in:
Tim Rühsen 2018-12-27 20:46:55 +01:00
parent 70cddf3e29
commit 5811c2222b

View File

@ -784,7 +784,7 @@ ssl_connect_wget (int fd, const char *hostname, int *continue_session)
err = gnutls_priority_set_direct (session, opt.tls_ciphers_string, NULL);
#else
logprintf (LOG_NOTQUIET, _("GnuTLS: Cannot set prio string directly. Falling back to default priority.\n"));
err = gnutls_set_default_priority ();
err = gnutls_set_default_priority (session);
#endif
}