]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/s_time.c
APPS: Improve diagnostics on missing/extra args and unknown cipher/digest
[thirdparty/openssl.git] / apps / s_time.c
index 1a58e19de53fe7eeaa3c469df6aa54534e32ca35..1c6ed78b2cfd456de4eeaa01d3228be858809b06 100644 (file)
@@ -234,8 +234,7 @@ int s_time_main(int argc, char **argv)
     }
 
     /* No extra arguments. */
-    argc = opt_num_rest();
-    if (argc != 0)
+    if (!opt_check_rest_arg(NULL))
         goto opthelp;
 
     if (cipher == NULL)