diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-10-22 05:37:10 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-11-02 13:41:51 +0000 |
commit | bed27f4db397ac0f5daaba7e4c4079718bbb6b31 (patch) | |
tree | 89619bf25fdd52c894db3e935dc8f5c922857480 | |
parent | 738a224bd094eb884f0f6edcb5aca71dc676ee2b (diff) |
Fix argument processing.
(cherry picked from commit abf840e4f71c3a8795428c213fd37ece2a910443)
-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 c1e18c2e8a..c7dd530649 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c @@ -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; } |