Fix argument processing.

This commit is contained in:
Dr. Stephen Henson 2013-10-22 05:37:10 +01:00
parent 27f3b65f49
commit abf840e4f7

View File

@ -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;
}