From: Dr. Stephen Henson Date: Tue, 22 Oct 2013 04:37:10 +0000 (+0100) Subject: Fix argument processing. X-Git-Tag: master-post-reformat~1116 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=abf840e4f71c3a8795428c213fd37ece2a910443;p=oweals%2Fopenssl.git Fix argument processing. --- 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; }