summaryrefslogtreecommitdiff
path: root/usr.bin/signify/signify.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-01-07 19:53:35 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-01-07 19:53:35 +0000
commit9d57ca47ffde363a670a696286cd01b3f0b9cbcf (patch)
tree6a9f134f92bb1ca0f847b4bb050ba30f0b105718 /usr.bin/signify/signify.c
parentfc34ca45a0856644911c89fb8ffe00134a914522 (diff)
bcallah noticed the ifndef guard for headers was wrong. don't fix, just
remove it, and put these includes up with their friends.
Diffstat (limited to 'usr.bin/signify/signify.c')
-rw-r--r--usr.bin/signify/signify.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/signify/signify.c b/usr.bin/signify/signify.c
index 2a431d6bfed..7f13eca0fa7 100644
--- a/usr.bin/signify/signify.c
+++ b/usr.bin/signify/signify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signify.c,v 1.95 2014/12/29 14:35:04 tedu Exp $ */
+/* $OpenBSD: signify.c,v 1.96 2015/01/07 19:53:34 tedu Exp $ */
/*
* Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
*
@@ -24,6 +24,8 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
+#include <ohash.h>
#include <err.h>
#include <unistd.h>
#include <readpassphrase.h>
@@ -31,10 +33,6 @@
#include <sha2.h>
#include "crypto_api.h"
-#ifndef VERIFY_ONLY
-#include <stddef.h>
-#include <ohash.h>
-#endif
#define SIGBYTES crypto_sign_ed25519_BYTES
#define SECRETBYTES crypto_sign_ed25519_SECRETKEYBYTES