From 6cf55e250333dd1278daa51a90d18a6c98d044cd Mon Sep 17 00:00:00 2001 From: beck <> Date: Sun, 13 Jul 2014 10:27:22 +0000 Subject: Take out __bounded__ in the include files we use it in when not on OpenBSD. while we can take it out in portable at compile time, it is still a problem when we install this header file on a system that doesn't support __bounded__ if this is unguarded. ok miod@ bcook@ --- src/lib/libcrypto/sha/sha.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/sha') diff --git a/src/lib/libcrypto/sha/sha.h b/src/lib/libcrypto/sha/sha.h index c2e303fcc2..d227ae458a 100644 --- a/src/lib/libcrypto/sha/sha.h +++ b/src/lib/libcrypto/sha/sha.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sha.h,v 1.17 2014/07/10 22:45:58 jsing Exp $ */ +/* $OpenBSD: sha.h,v 1.18 2014/07/13 10:27:22 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -60,6 +60,9 @@ #ifndef HEADER_SHA_H #define HEADER_SHA_H +#if !defined(HAVE_ATTRIBUTE__BOUNDED__) || !defined(__OpenBSD__) +#define __bounded__(x, y, z) +#endif #include -- cgit v1.2.3-55-g6feb