From 5aaba376189c0d606b832877b037d51caf338e7f Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 19 Aug 2019 06:35:54 +0200 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/8882) --- crypto/conf/conf_def.c | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/conf/conf_def.c') 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'; -- cgit v1.2.3