summary refs log tree commit diff
path: root/pkgs/tools/networking/wget/gnutls-support.patch
blob: fa0c5cc06c0fffa828a584f69932a9ca01abfa04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This patch fixes GnuTLS support:

  http.o: In function `gethttp':
  http.c:(.text+0x26c6): undefined reference to `ssl_connect_wget'

--- wget-1.12/src/http.c	2009-09-22 05:02:18.000000000 +0200
+++ wget-1.12/src/http.c	2009-10-03 17:24:46.000000000 +0200
@@ -1762,7 +1762,7 @@ gethttp (struct url *u, struct http_stat
 
       if (conn->scheme == SCHEME_HTTPS)
         {
-          if (!ssl_connect_wget (sock))
+          if (!ssl_connect (sock))
             {
               fd_close (sock);
               return CONSSLERR;