diff options
author | 2001-06-03 17:02:53 +0000 | |
---|---|---|
committer | 2001-06-03 17:02:53 +0000 | |
commit | 7fd15de3521c58a8f751690cb4176e768029852b (patch) | |
tree | cc977a4f35fa7b02e4df2430a63e5b28143b916b | |
parent | Make sure targs get initialized. (diff) | |
download | wireguard-openbsd-7fd15de3521c58a8f751690cb4176e768029852b.tar.xz wireguard-openbsd-7fd15de3521c58a8f751690cb4176e768029852b.zip |
Obvious thinko: command line is wrong if it's too short, not too long.
-rw-r--r-- | bin/md5/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c index b96b4363a35..284d3661e1e 100644 --- a/bin/md5/md5.c +++ b/bin/md5/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.11 2001/06/02 21:04:53 millert Exp $ */ +/* $OpenBSD: md5.c,v 1.12 2001/06/03 17:02:53 espie Exp $ */ /* * Copyright (c) 2001 Todd C. Miller <Todd.Miller@courtesan.com> @@ -116,7 +116,7 @@ main(int argc, char **argv) argc -= optind; argv += optind; - if (pflag + tflag + xflag + argc > 1) + if (pflag + tflag + xflag + argc < 1) usage(); if (tflag) |