mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 21:00:31 +08:00
* src/gnutls.c (ssl_connect_wget): Fix call to gnutls_set_default_priority()
This commit is contained in:
parent
70cddf3e29
commit
5811c2222b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user