From: deraadt Date: Sun, 12 Jan 2014 04:37:51 +0000 (+0000) Subject: Also move case 'c' into the #ifdef for a smaller binary. It will fall into X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2b59f043e42e958804759222af0b32306f1fe78e;p=openbsd 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... --- 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];