Fix quoting error in SRP printf
The code is trying to interpolate the value of the BASE_SECTION macro, but due to excess escaping, it instead prints the string "BASE_SECTION". Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Kurt Roeckx <kurt@openssl.org>
This commit is contained in:
@@ -365,7 +365,7 @@ int srp_main(int argc, char **argv)
|
|||||||
if (verbose)
|
if (verbose)
|
||||||
BIO_printf(bio_err,
|
BIO_printf(bio_err,
|
||||||
"trying to read " ENV_DEFAULT_SRP
|
"trying to read " ENV_DEFAULT_SRP
|
||||||
" in \" BASE_SECTION \"\n");
|
" in " BASE_SECTION "\n");
|
||||||
|
|
||||||
section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_SRP);
|
section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_SRP);
|
||||||
if (section == NULL) {
|
if (section == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user