Browse Source

dsa import: no output on stderr please

Steffen Jaeckel 11 years ago
parent
commit
ee1631f8b3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/pk/dsa/dsa_import.c

+ 0 - 2
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) {
                                   LTC_ASN1_EOL, 0UL, NULL)) == CRYPT_OK) {
        /* private key */
        /* private key */
        if (flags[0]) {
        if (flags[0]) {
-           fprintf(stderr, "private key\n");
            if ((err = der_decode_sequence_multi(in, inlen,
            if ((err = der_decode_sequence_multi(in, inlen,
                                   LTC_ASN1_BIT_STRING,   1UL, flags,
                                   LTC_ASN1_BIT_STRING,   1UL, flags,
                                   LTC_ASN1_INTEGER,      1UL, key->g,
                                   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 */
        /* public key */
        else {
        else {
-           fprintf(stderr, "public key\n");
            if ((err = der_decode_sequence_multi(in, inlen,
            if ((err = der_decode_sequence_multi(in, inlen,
                                       LTC_ASN1_BIT_STRING,   1UL, flags,
                                       LTC_ASN1_BIT_STRING,   1UL, flags,
                                       LTC_ASN1_INTEGER,      1UL, key->g,
                                       LTC_ASN1_INTEGER,      1UL, key->g,