Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/cksum Fix host tool build which got broken when SHA2...
details: https://anonhg.NetBSD.org/src/rev/e3cf3802cdb8
branches: trunk
changeset: 583839:e3cf3802cdb8
user: tron <tron%NetBSD.org@localhost>
date: Thu Aug 25 09:51:23 2005 +0000
description:
Fix host tool build which got broken when SHA2 support was added.
diffstat:
usr.bin/cksum/sha256.c | 6 +++++-
usr.bin/cksum/sha384.c | 6 +++++-
usr.bin/cksum/sha512.c | 6 +++++-
3 files changed, 15 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 3759290158b1 -r e3cf3802cdb8 usr.bin/cksum/sha256.c
--- a/usr.bin/cksum/sha256.c Thu Aug 25 08:55:42 2005 +0000
+++ b/usr.bin/cksum/sha256.c Thu Aug 25 09:51:23 2005 +0000
@@ -1,4 +1,8 @@
-/* $NetBSD: sha256.c,v 1.1 2005/08/24 19:59:08 elad Exp $ */
+/* $NetBSD: sha256.c,v 1.2 2005/08/25 09:51:23 tron Exp $ */
+
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
#include <crypto/sha2.h> /* this hash type */
#include <md5.h> /* the hash we're replacing */
diff -r 3759290158b1 -r e3cf3802cdb8 usr.bin/cksum/sha384.c
--- a/usr.bin/cksum/sha384.c Thu Aug 25 08:55:42 2005 +0000
+++ b/usr.bin/cksum/sha384.c Thu Aug 25 09:51:23 2005 +0000
@@ -1,4 +1,8 @@
-/* $NetBSD: sha384.c,v 1.1 2005/08/24 19:59:08 elad Exp $ */
+/* $NetBSD: sha384.c,v 1.2 2005/08/25 09:51:23 tron Exp $ */
+
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
#include <crypto/sha2.h> /* this hash type */
#include <md5.h> /* the hash we're replacing */
diff -r 3759290158b1 -r e3cf3802cdb8 usr.bin/cksum/sha512.c
--- a/usr.bin/cksum/sha512.c Thu Aug 25 08:55:42 2005 +0000
+++ b/usr.bin/cksum/sha512.c Thu Aug 25 09:51:23 2005 +0000
@@ -1,4 +1,8 @@
-/* $NetBSD: sha512.c,v 1.1 2005/08/24 19:59:09 elad Exp $ */
+/* $NetBSD: sha512.c,v 1.2 2005/08/25 09:51:23 tron Exp $ */
+
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
#include <crypto/sha2.h> /* this hash type */
#include <md5.h> /* the hash we're replacing */
Home |
Main Index |
Thread Index |
Old Index