From abf840e4f71c3a8795428c213fd37ece2a910443 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. --- 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 4119afa473..90d77fa034 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c @@ -438,7 +438,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