Fix argument processing.
(cherry picked from commit abf840e4f71c3a8795428c213fd37ece2a910443)
This commit is contained in:
parent
738a224bd0
commit
bed27f4db3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user