app-crypt/oid-converter: change download location
[portage-overlay.git] / app-crypt / gnupg / files / gnupg-2.0.17-gpgsm-gencert.patch
1 From c34486a64c223bcbfbb57d9abcf107d684b815b6 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
3 Date: Sun, 17 Apr 2011 01:34:39 +0200
4 Subject: [PATCH] gpgsm-gencert.sh: make sure not to abort after creating temp
5  file.
6
7 https://bugs.g10code.com/gnupg/issue1466
8
9 ---
10  tools/gpgsm-gencert.sh |    8 ++++----
11  1 files changed, 4 insertions(+), 4 deletions(-)
12
13 diff --git a/tools/gpgsm-gencert.sh b/tools/gpgsm-gencert.sh
14 index b209c8e..e7c812f 100755
15 --- a/tools/gpgsm-gencert.sh
16 +++ b/tools/gpgsm-gencert.sh
17 @@ -178,10 +178,10 @@ Key-Length: $KEY_LENGTH
18  Key-Usage: $KEY_USAGE
19  Name-DN: $NAME
20  EOF
21 -[ -n "$KEY_GRIP" ] && echo "Key-Grip: $KEY_GRIP"
22 -[ -n "$EMAIL_ADDRESSES" ] && echo "$EMAIL_ADDRESSES"
23 -[ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES"
24 -[ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES"
25 +[ -n "$KEY_GRIP" ] && echo "Key-Grip: $KEY_GRIP" || true
26 +[ -n "$EMAIL_ADDRESSES" ] && echo "$EMAIL_ADDRESSES" || true
27 +[ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES" || true
28 +[ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES" || true
29  ) > "$file_parameter"
30  
31  
32 -- 
33 1.7.5.rc1
34