summaryrefslogtreecommitdiffstats
path: root/crypto/conf/conf_def.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-08-19 06:35:54 +0200
committerRichard Levitte <levitte@openssl.org>2019-11-12 13:33:12 +0100
commit5aaba376189c0d606b832877b037d51caf338e7f (patch)
treee37db3b62754b04dd966813a20f3956b7adc05c0 /crypto/conf/conf_def.c
parent0255c1742a5a8186802fdef19b4f1c8c701a27bc (diff)
Add a tester of OpenSSL config files and test the current .pragma
test/confdump.c reads an OpenSSL config file and prints out the processed result. This can be used to check that a config file is processed correctly. We add a test recipe and the necessary data to test the dollarid pragma. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8882)
Diffstat (limited to 'crypto/conf/conf_def.c')
-rw-r--r--crypto/conf/conf_def.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c
index 811f8809d3..4114636151 100644
--- a/crypto/conf/conf_def.c
+++ b/crypto/conf/conf_def.c
@@ -456,6 +456,7 @@ static int def_load_bio(CONF *conf, BIO *in, long *line)
continue;
} else if (*p != '=') {
CONFerr(CONF_F_DEF_LOAD_BIO, CONF_R_MISSING_EQUAL_SIGN);
+ ERR_add_error_data(2, "HERE-->", p);
goto err;
}
*end = '\0';