summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio
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/bio
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/bio')
-rw-r--r--src/lib/libcrypto/bio/bio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index cc5ef618b5..59f916f085 100644
--- a/src/lib/libcrypto/bio/bio.h
+++ b/src/lib/libcrypto/bio/bio.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio.h,v 1.24 2014/06/22 14:41:10 jsing Exp $ */ 1/* $OpenBSD: bio.h,v 1.25 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,7 +58,9 @@
58 58
59#ifndef HEADER_BIO_H 59#ifndef HEADER_BIO_H
60#define HEADER_BIO_H 60#define HEADER_BIO_H
61 61#if !defined(HAVE_ATTRIBUTE__BOUNDED__) || !defined(__OpenBSD__)
62#define __bounded__(x, y, z)
63#endif
62#include <openssl/opensslconf.h> 64#include <openssl/opensslconf.h>
63 65
64# include <stdio.h> 66# include <stdio.h>