mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
gnupg1orig: Remove left-over debug message.
Patch committed by James Cook <james.cook@utoronto.ca>.
This commit is contained in:
parent
aed1895643
commit
273d31fff4
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "7f09319d044b0f6ee71fe3587bb873be701723ac0952cff5069046a78de8fd86";
|
||||
};
|
||||
|
||||
patches = [ ./remove-debug-message.patch ];
|
||||
|
||||
buildInputs = [ readline bzip2 ];
|
||||
|
||||
doCheck = true;
|
||||
|
22
pkgs/tools/security/gnupg/remove-debug-message.patch
Normal file
22
pkgs/tools/security/gnupg/remove-debug-message.patch
Normal file
@ -0,0 +1,22 @@
|
||||
commit 936416690e6c889505d84fe96983a66983beae5e
|
||||
Author: Werner Koch <wk@gnupg.org>
|
||||
Date: Thu Feb 26 09:38:58 2015 +0100
|
||||
|
||||
gpg: Remove left-over debug message.
|
||||
|
||||
* g10/armor.c (check_input): Remove log_debug.
|
||||
|
||||
diff --git a/g10/armor.c b/g10/armor.c
|
||||
index 6c0013d..de1726d 100644
|
||||
--- a/g10/armor.c
|
||||
+++ b/g10/armor.c
|
||||
@@ -534,9 +534,6 @@ check_input( armor_filter_context_t *afx, IOBUF a )
|
||||
/* This is probably input from a keyserver helper and we
|
||||
have not yet seen an error line. */
|
||||
afx->key_failed_code = parse_key_failed_line (line+4, len-4);
|
||||
- log_debug ("armor-keys-failed (%.*s) ->%d\n",
|
||||
- (int)len, line,
|
||||
- afx->key_failed_code);
|
||||
}
|
||||
if( i >= 0 && !(afx->only_keyblocks && i != 1 && i != 5 && i != 6 )) {
|
||||
hdr_line = i;
|
Loading…
Reference in New Issue
Block a user