diff options
author | Rich Salz <rsalz@akamai.com> | 2015-06-04 18:42:36 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-06-09 18:39:08 +0200 |
commit | 51b04a6117510d8a771f619cb419985f4dec32bb (patch) | |
tree | df9f5997312654233c9b5967a1f9629534cca7d0 /crypto/txt_db | |
parent | Explicitly mention PKCS5_PBKDF2_HMAC in EVP doc. (diff) | |
download | openssl-51b04a6117510d8a771f619cb419985f4dec32bb.tar.xz openssl-51b04a6117510d8a771f619cb419985f4dec32bb.zip |
No fprintf in the txt_db component
Also removed a source file that isn't built, and moved
another one to test for eventual fixing.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/txt_db')
-rw-r--r-- | crypto/txt_db/txt_db.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/txt_db/txt_db.c b/crypto/txt_db/txt_db.c index 23849175e5..5b1e5925d0 100644 --- a/crypto/txt_db/txt_db.c +++ b/crypto/txt_db/txt_db.c @@ -155,11 +155,7 @@ TXT_DB *TXT_DB_read(BIO *in, int num) } *(p++) = '\0'; if ((n != num) || (*f != '\0')) { -#if !defined(OPENSSL_NO_STDIO) /* temporary fix :-( */ - fprintf(stderr, - "wrong number of fields on line %ld (looking for field %d, got %d, '%s' left)\n", - ln, num, n, f); -#endif + ret->error = DB_ERROR_WRONG_NUM_FIELDS; goto err; } pp[n] = p; |