diff options
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r-- | src/tool_getparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c index b757ac8f0..1a72edf3e 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -422,7 +422,7 @@ void parse_cert_parameter(const char *cert_parameter, /* escaped colons and Windows drive letter colons were handled * above; if we're still here, this is a separating colon */ param_place++; - if(strlen(param_place) > 0) { + if(*param_place) { *passphrase = strdup(param_place); } goto done; |