diff options
author | 2014-01-12 04:37:51 +0000 | |
---|---|---|
committer | 2014-01-12 04:37:51 +0000 | |
commit | 2b59f043e42e958804759222af0b32306f1fe78e (patch) | |
tree | d20afbe4fc3cfd65b2669ff6d633050083b24388 | |
parent | Since the return value of read_client_conf() is not checked, don't (diff) | |
download | wireguard-openbsd-2b59f043e42e958804759222af0b32306f1fe78e.tar.xz wireguard-openbsd-2b59f043e42e958804759222af0b32306f1fe78e.zip |
Also move case 'c' into the #ifdef for a smaller binary. It will fall into
default, giving a nice failure. I have not removed -c from the usage()
or getopt() because it is too much butchering...
-rw-r--r-- | bin/md5/md5.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c index ae989a0f936..559b2c0f2e3 100644 --- a/bin/md5/md5.c +++ b/bin/md5/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.68 2014/01/11 04:01:13 deraadt Exp $ */ +/* $OpenBSD: md5.c,v 1.69 2014/01/12 04:37:51 deraadt Exp $ */ /* * Copyright (c) 2001,2003,2005-2007,2010,2013,2014 @@ -305,15 +305,15 @@ main(int argc, char **argv) case 'b': /* has already been parsed */ break; - case 'c': - cflag = 1; - break; case 'h': ofile = fopen(optarg, "w"); if (ofile == NULL) err(1, "%s", optarg); break; #if !defined(SHA2_ONLY) + case 'c': + cflag = 1; + break; case 'o': if (strcmp(optarg, "1") == 0) hf = &functions[1]; |