aboutsummaryrefslogtreecommitdiff
path: root/apps/srp.c
diff options
context:
space:
mode:
authorAndy Isaacson <adi@hexapodia.org>2016-01-22 15:06:21 -0500
committerRich Salz <rsalz@openssl.org>2016-01-22 15:06:21 -0500
commit44fdf1c23dbc943b747f4ee5609ef98414621e4a (patch)
tree063a6a295e99bba619a046c14f18d9c0ad77a5c0 /apps/srp.c
parenta6099d4fd9629f4ee3956130c13d7ab1e32174e6 (diff)
downloadopenssl-44fdf1c23dbc943b747f4ee5609ef98414621e4a.zip
openssl-44fdf1c23dbc943b747f4ee5609ef98414621e4a.tar.gz
openssl-44fdf1c23dbc943b747f4ee5609ef98414621e4a.tar.bz2
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>
Diffstat (limited to 'apps/srp.c')
-rw-r--r--apps/srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/srp.c b/apps/srp.c
index 1c9a9be..c3e4f43 100644
--- a/apps/srp.c
+++ b/apps/srp.c
@@ -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) {