Fix quoting error in SRP printf
authorAndy Isaacson <adi@hexapodia.org>
Fri, 22 Jan 2016 20:06:21 +0000 (15:06 -0500)
committerRich Salz <rsalz@openssl.org>
Fri, 22 Jan 2016 20:06:21 +0000 (15:06 -0500)
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>
apps/srp.c

index 1c9a9be..c3e4f43 100644 (file)
@@ -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) {