Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/netpgpverify avoid redef...
details: https://anonhg.NetBSD.org/src/rev/904e55a8551e
branches: trunk
changeset: 365389:904e55a8551e
user: christos <christos%NetBSD.org@localhost>
date: Mon Aug 13 09:54:19 2018 +0000
description:
avoid redefinition
diffstat:
crypto/external/bsd/netpgp/dist/src/netpgpverify/sha2.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 64386cb79f1b -r 904e55a8551e crypto/external/bsd/netpgp/dist/src/netpgpverify/sha2.c
--- a/crypto/external/bsd/netpgp/dist/src/netpgpverify/sha2.c Mon Aug 13 09:53:51 2018 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/netpgpverify/sha2.c Mon Aug 13 09:54:19 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sha2.c,v 1.3 2018/07/26 00:31:13 kamil Exp $ */
+/* $NetBSD: sha2.c,v 1.4 2018/08/13 09:54:19 christos Exp $ */
/* $KAME: sha2.c,v 1.9 2003/07/20 00:28:38 itojun Exp $ */
/*
@@ -48,7 +48,9 @@
# undef be32toh
# undef be64toh
+#ifndef __CAST
#define __CAST(__dt, __st) ((__dt)(__st)) /* srsly? */
+#endif
static __inline void
be32encode(void *buf, uint32_t u)
Home |
Main Index |
Thread Index |
Old Index