diff options
author | beck <> | 2014-07-13 10:27:22 +0000 |
---|---|---|
committer | beck <> | 2014-07-13 10:27:22 +0000 |
commit | 266d9733cad3f22c7418e7ce1a02c7f52ccde55f (patch) | |
tree | 802446db9339b3a33348d2822608f6c84a64f829 /src/lib/libcrypto/md5 | |
parent | 2611981c7e016c2f3dcbe69051bc2dbf5d4a4d11 (diff) | |
download | openbsd-266d9733cad3f22c7418e7ce1a02c7f52ccde55f.tar.gz openbsd-266d9733cad3f22c7418e7ce1a02c7f52ccde55f.tar.bz2 openbsd-266d9733cad3f22c7418e7ce1a02c7f52ccde55f.zip |
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@
Diffstat (limited to 'src/lib/libcrypto/md5')
-rw-r--r-- | src/lib/libcrypto/md5/md5.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: md5.h,v 1.17 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: md5.h,v 1.18 2014/07/13 10:27:22 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -60,6 +60,9 @@ | |||
60 | 60 | ||
61 | #ifndef HEADER_MD5_H | 61 | #ifndef HEADER_MD5_H |
62 | #define HEADER_MD5_H | 62 | #define HEADER_MD5_H |
63 | #if !defined(HAVE_ATTRIBUTE__BOUNDED__) || !defined(__OpenBSD__) | ||
64 | #define __bounded__(x, y, z) | ||
65 | #endif | ||
63 | 66 | ||
64 | #include <openssl/opensslconf.h> | 67 | #include <openssl/opensslconf.h> |
65 | 68 | ||