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/md5/md5.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/md5') diff --git a/src/lib/libcrypto/md5/md5.h b/src/lib/libcrypto/md5/md5.h index 98bdbc7b25..6f50e7f0dd 100644 --- a/src/lib/libcrypto/md5/md5.h +++ b/src/lib/libcrypto/md5/md5.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.h,v 1.17 2014/07/10 22:45:57 jsing Exp $ */ +/* $OpenBSD: md5.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_MD5_H #define HEADER_MD5_H +#if !defined(HAVE_ATTRIBUTE__BOUNDED__) || !defined(__OpenBSD__) +#define __bounded__(x, y, z) +#endif #include -- cgit v1.2.3-55-g6feb