From a62380786075ece35897bef1ba01386a55f7de33 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 15 Mar 2006 14:02:01 +1100 Subject: [PATCH] - (djm) [openbsd-compat/sha2.h] Avoid include macro clash with system sha2.h --- ChangeLog | 4 +++- openbsd-compat/sha2.h | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 241961575..d574dc222 100644 --- a/ChangeLog +++ b/ChangeLog @@ -252,6 +252,8 @@ - (djm) [md-sha256.c configure.ac] md-sha256.c needs sha2.h if present - (djm) [regress/.cvsignore] Ignore Makefile here - (djm) [loginrec.c] Need stat.h + - (djm) [openbsd-compat/sha2.h] Avoid include macro clash with + system sha2.h 20060313 - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong) @@ -4153,4 +4155,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4213 2006/03/15 03:01:11 djm Exp $ +$Id: ChangeLog,v 1.4214 2006/03/15 03:02:01 djm Exp $ diff --git a/openbsd-compat/sha2.h b/openbsd-compat/sha2.h index fb40bde43..5e2641c4b 100644 --- a/openbsd-compat/sha2.h +++ b/openbsd-compat/sha2.h @@ -36,8 +36,8 @@ /* OPENBSD ORIGINAL: include/sha2.h */ -#ifndef _SHA2_H -#define _SHA2_H +#ifndef _SSHSHA2_H +#define _SSHSHA2_H #include "includes.h" @@ -122,4 +122,4 @@ char *SHA512_Data(const u_int8_t *, size_t, char *) #endif /* !defined(HAVE_SHA256_UPDATE) && !defined(HAVE_EVP_SHA256) */ -#endif /* _SHA2_H */ +#endif /* _SSHSHA2_H */