summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-05-16 17:42:25 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-05-16 17:42:25 +0000
commitbdef5a8a134729e59fc26d92f22c55766953eb7d (patch)
tree37b00dcad09e2750be1c00472e7e782f3ab0b7ab /usr.bin
parent79c4cd905250126ef4e56114de75db419656b10b (diff)
checksum mode can use magic pubkey finder too
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/signify/signify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/signify/signify.c b/usr.bin/signify/signify.c
index f91dc575152..56d9e34f048 100644
--- a/usr.bin/signify/signify.c
+++ b/usr.bin/signify/signify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signify.c,v 1.85 2014/05/16 16:18:33 espie Exp $ */
+/* $OpenBSD: signify.c,v 1.86 2014/05/16 17:42:24 tedu Exp $ */
/*
* Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
*
@@ -759,8 +759,8 @@ main(int argc, char **argv)
#ifndef VERIFYONLY
if (verb == CHECK) {
- if (!pubkeyfile || !sigfile)
- usage("must specify pubkey and sigfile");
+ if (!sigfile)
+ usage("must specify sigfile");
check(pubkeyfile, sigfile, quiet, argc, argv);
return 0;
}