summaryrefslogtreecommitdiffstats
path: root/extra/gnupg/gnupg.diff
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 22:18:37 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 22:18:37 +0200
commit7a681994fc9fac40d4504f89bbf806a172b9bc88 (patch)
treec6b5ca08f83453fd754a867cdb0aa4c7b0dd4ef7 /extra/gnupg/gnupg.diff
parent1cbb8b34edec6cabf7839ca96de7089ddc6f82eb (diff)
downloadnutyx-extra-7a681994fc9fac40d4504f89bbf806a172b9bc88.tar.gz
nutyx-extra-7a681994fc9fac40d4504f89bbf806a172b9bc88.tar.bz2
nutyx-extra-7a681994fc9fac40d4504f89bbf806a172b9bc88.tar.xz
nutyx-extra-7a681994fc9fac40d4504f89bbf806a172b9bc88.zip
Ajout de gnupg#2.0.12-1
Diffstat (limited to 'extra/gnupg/gnupg.diff')
-rw-r--r--extra/gnupg/gnupg.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/gnupg/gnupg.diff b/extra/gnupg/gnupg.diff
new file mode 100644
index 000000000..287f5daae
--- /dev/null
+++ b/extra/gnupg/gnupg.diff
@@ -0,0 +1,13 @@
+diff -aur gnupg-2.0.9.orig/keyserver/gpgkeys_curl.c gnupg-2.0.9/keyserver/gpgkeys_curl.c
+--- gnupg-2.0.9.orig/keyserver/gpgkeys_curl.c 2007-07-04 15:26:13.000000000 +0200
++++ gnupg-2.0.9/keyserver/gpgkeys_curl.c 2008-11-30 13:42:46.062587160 +0100
+@@ -300,7 +300,8 @@
+ curl_easy_setopt(curl,CURLOPT_VERBOSE,1);
+ }
+
+- curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,opt->flags.check_cert);
++ int check_cert = opt->flags.check_cert;
++ curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,check_cert);
+ curl_easy_setopt(curl,CURLOPT_CAINFO,opt->ca_cert_file);
+
+ if(proxy)