From ee1631f8b32f141e3c9fa7769a99c4c271dd5ac8 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 6 Oct 2014 18:57:58 +0200 Subject: [PATCH] dsa import: no output on stderr please --- src/pk/dsa/dsa_import.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pk/dsa/dsa_import.c b/src/pk/dsa/dsa_import.c index 401d3ba..6408303 100644 --- a/src/pk/dsa/dsa_import.c +++ b/src/pk/dsa/dsa_import.c @@ -46,7 +46,6 @@ int dsa_import(const unsigned char *in, unsigned long inlen, dsa_key *key) LTC_ASN1_EOL, 0UL, NULL)) == CRYPT_OK) { /* private key */ if (flags[0]) { - fprintf(stderr, "private key\n"); if ((err = der_decode_sequence_multi(in, inlen, LTC_ASN1_BIT_STRING, 1UL, flags, LTC_ASN1_INTEGER, 1UL, key->g, @@ -62,7 +61,6 @@ int dsa_import(const unsigned char *in, unsigned long inlen, dsa_key *key) } /* public key */ else { - fprintf(stderr, "public key\n"); if ((err = der_decode_sequence_multi(in, inlen, LTC_ASN1_BIT_STRING, 1UL, flags, LTC_ASN1_INTEGER, 1UL, key->g,