summaryrefslogtreecommitdiff
path: root/security/gnupg/patches
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:52:59 +0000
committerwiz <wiz>2001-01-29 11:52:59 +0000
commita69a32b30d589f6c501d20e97e42414a2c4dcd6e (patch)
treea1095282b996c564102eca279b54ad39e41e21c3 /security/gnupg/patches
parent599f23b95cd75f80e8f67fc61b86731a54011725 (diff)
downloadpkgsrc-a69a32b30d589f6c501d20e97e42414a2c4dcd6e.tar.gz
Update gnupg to 1.0.4nb2:
Fix a bug in ~/.gnupg creation. Honor USE_IDEA, and add the IDEA extension in that case. Addresses pkg/11876.
Diffstat (limited to 'security/gnupg/patches')
-rw-r--r--security/gnupg/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/gnupg/patches/patch-ac b/security/gnupg/patches/patch-ac
new file mode 100644
index 00000000000..44c35b4bdef
--- /dev/null
+++ b/security/gnupg/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.8 2001/01/29 11:53:03 wiz Exp $
+
+--- g10/openfile.c.orig Tue Sep 5 17:31:57 2000
++++ g10/openfile.c
+@@ -329,7 +329,7 @@
+
+ if ( ( *defhome == '~'
+ && ( strlen(fname) >= strlen (defhome+1)
+- && !strcmp(fname+strlen(defhome+1)-strlen(defhome+1),
++ && !strcmp(fname+strlen(fname)-strlen(defhome+1),
+ defhome+1 ) ))
+ || ( *defhome != '~'
+ && !compare_filenames( fname, defhome ) )