X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fpasswd.c;h=c87369760cd01c3116afe14a7856dae2efc084c5;hp=1dc1e37ca4fc1e5b3b0b1e3cdd665be547df39e2;hb=2234212c3dde887e0b7fa08277d035cd132e2cce;hpb=71d8c138cf0a72663cd401d753564eecd8c23289 diff --git a/apps/passwd.c b/apps/passwd.c index 1dc1e37ca4..c87369760c 100644 --- a/apps/passwd.c +++ b/apps/passwd.c @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -187,7 +187,7 @@ int passwd_main(int argc, char **argv) argc = opt_num_rest(); argv = opt_rest(); - if (*argv) { + if (*argv != NULL) { if (pw_source_defined) goto opthelp; pw_source_defined = 1;