Skip to content

Commit

Permalink
Fix quoting error in SRP printf
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Kurt Roeckx <[email protected]>
  • Loading branch information
radii authored and Rich Salz committed Jan 22, 2016
1 parent a6099d4 commit 44fdf1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ int srp_main(int argc, char **argv)
if (verbose)
BIO_printf(bio_err,
"trying to read " ENV_DEFAULT_SRP
" in \" BASE_SECTION \"\n");
" in " BASE_SECTION "\n");

section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_SRP);
if (section == NULL) {
Expand Down

0 comments on commit 44fdf1c

Please sign in to comment.