summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/buffer/buffer.h
diff options
context:
space:
mode:
authorbeck <>2014-07-13 10:27:22 +0000
committerbeck <>2014-07-13 10:27:22 +0000
commit266d9733cad3f22c7418e7ce1a02c7f52ccde55f (patch)
tree802446db9339b3a33348d2822608f6c84a64f829 /src/lib/libcrypto/buffer/buffer.h
parent2611981c7e016c2f3dcbe69051bc2dbf5d4a4d11 (diff)
downloadopenbsd-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/buffer/buffer.h')
-rw-r--r--src/lib/libcrypto/buffer/buffer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/buffer/buffer.h b/src/lib/libcrypto/buffer/buffer.h
index c3d140b392..00759cf857 100644
--- a/src/lib/libcrypto/buffer/buffer.h
+++ b/src/lib/libcrypto/buffer/buffer.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: buffer.h,v 1.11 2014/06/24 19:37:58 miod Exp $ */ 1/* $OpenBSD: buffer.h,v 1.12 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 *
@@ -58,6 +58,9 @@
58 58
59#ifndef HEADER_BUFFER_H 59#ifndef HEADER_BUFFER_H
60#define HEADER_BUFFER_H 60#define HEADER_BUFFER_H
61#if !defined(HAVE_ATTRIBUTE__BOUNDED__) || !defined(__OpenBSD__)
62#define __bounded__(x, y, z)
63#endif
61 64
62#include <openssl/ossl_typ.h> 65#include <openssl/ossl_typ.h>
63 66