diff options
Diffstat (limited to 'src/gns/gnunet-gns-proxy.c')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 64e60b954..c1db1c61e 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -1265,7 +1265,7 @@ curl_check_hdr (void *buffer, | |||
1265 | GNUNET_free (leho_host); | 1265 | GNUNET_free (leho_host); |
1266 | } | 1266 | } |
1267 | else if (0 == strcasecmp (MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, | 1267 | else if (0 == strcasecmp (MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, |
1268 | hdr_type)) | 1268 | hdr_type)) |
1269 | { | 1269 | { |
1270 | char *leho_host; | 1270 | char *leho_host; |
1271 | 1271 | ||
@@ -1309,7 +1309,7 @@ curl_check_hdr (void *buffer, | |||
1309 | s5r->header_tail, | 1309 | s5r->header_tail, |
1310 | header); | 1310 | header); |
1311 | } | 1311 | } |
1312 | cleanup: | 1312 | cleanup: |
1313 | GNUNET_free (ndup); | 1313 | GNUNET_free (ndup); |
1314 | GNUNET_free (new_cookie_hdr); | 1314 | GNUNET_free (new_cookie_hdr); |
1315 | GNUNET_free (new_location); | 1315 | GNUNET_free (new_location); |
@@ -3801,6 +3801,14 @@ run (void *cls, | |||
3801 | GNUNET_SCHEDULER_shutdown (); | 3801 | GNUNET_SCHEDULER_shutdown (); |
3802 | return; | 3802 | return; |
3803 | } | 3803 | } |
3804 | if (CURLSSLSET_OK != curl_global_sslset (CURLSSLBACKEND_GNUTLS, | ||
3805 | NULL, | ||
3806 | NULL)) | ||
3807 | { | ||
3808 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
3809 | "cURL does not support the GnuTLS backend\n"); | ||
3810 | |||
3811 | } | ||
3804 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 3812 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |
3805 | { | 3813 | { |
3806 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 3814 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |