summaryrefslogtreecommitdiff
path: root/src/gnutls.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:25 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:25 +0900
commit0600edaa5c1a04547bd6b1e0431660d6833074cd (patch)
treed099efc896b831b1046baf83d8ba3edb60c6e65c /src/gnutls.c
parent4a9ac8023543db82c39c3db6138a8e8582f51797 (diff)
downloadwget-0600edaa5c1a04547bd6b1e0431660d6833074cd.tar.gz
wget-0600edaa5c1a04547bd6b1e0431660d6833074cd.tar.bz2
wget-0600edaa5c1a04547bd6b1e0431660d6833074cd.zip
Imported Upstream version 1.20.2upstream/1.20.2
Diffstat (limited to 'src/gnutls.c')
-rw-r--r--src/gnutls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gnutls.c b/src/gnutls.c
index a2c9d1c..04b50b1 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -1,5 +1,6 @@
/* SSL support via GnuTLS library.
- Copyright (C) 2005-2012, 2015, 2018 Free Software Foundation, Inc.
+ Copyright (C) 2005-2012, 2015, 2018-2019 Free Software Foundation,
+ Inc.
This file is part of GNU Wget.
@@ -784,7 +785,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
}