diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-10-22 05:37:10 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-10-22 05:44:23 +0100 |
commit | abf840e4f71c3a8795428c213fd37ece2a910443 (patch) | |
tree | 692f28b2d8be4d507fc9b317c73ab59ae78146f1 /ssl | |
parent | 27f3b65f49ea91fcf4b46ec0298be51b4207214a (diff) |
Fix argument processing.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |