summaryrefslogtreecommitdiffstats
path: root/crypto/txt_db/txt_db.c
diff options
context:
space:
mode:
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;