summaryrefslogtreecommitdiffstats
path: root/crypto/txt_db/txt_db.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-06-04 12:42:36 -0400
committerRich Salz <rsalz@openssl.org>2015-06-09 12:39:08 -0400
commit51b04a6117510d8a771f619cb419985f4dec32bb (patch)
treedf9f5997312654233c9b5967a1f9629534cca7d0 /crypto/txt_db/txt_db.c
parent82c4d793181058de9fde5c9088fd400fdb7e01e3 (diff)
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/txt_db.c')
-rw-r--r--crypto/txt_db/txt_db.c6
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;