From bed27f4db397ac0f5daaba7e4c4079718bbb6b31 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 22 Oct 2013 05:37:10 +0100 Subject: [PATCH] Fix argument processing. (cherry picked from commit abf840e4f71c3a8795428c213fd37ece2a910443) --- ssl/ssl_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c index c1e18c2e8a..c7dd530649 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c @@ -439,7 +439,7 @@ static int ssl_conf_cmd_skip_prefix(SSL_CONF_CTX *cctx, const char **pcmd) } else if (cctx->flags & SSL_CONF_FLAG_CMDLINE) { - if (**pcmd != '-' || !*pcmd[1]) + if (**pcmd != '-' || !(*pcmd)[1]) return 0; *pcmd += 1; } -- 2.25.1