summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiod <>2014-06-24 19:37:58 +0000
committermiod <>2014-06-24 19:37:58 +0000
commitd61ef5a46e51ec0dbe4ba474f0a15d6b21556457 (patch)
tree67d4856f21820160d017bbefe288830b6b7535cf /src
parent2094ff4f6b6d31d42debdd7d1f2ffe5c1c3c7424 (diff)
downloadopenbsd-d61ef5a46e51ec0dbe4ba474f0a15d6b21556457.tar.gz
openbsd-d61ef5a46e51ec0dbe4ba474f0a15d6b21556457.tar.bz2
openbsd-d61ef5a46e51ec0dbe4ba474f0a15d6b21556457.zip
Unifdef -UNO_SYS_TYPES_H
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/asn1/a_digest.c6
-rw-r--r--src/lib/libcrypto/asn1/a_sign.c6
-rw-r--r--src/lib/libcrypto/asn1/a_verify.c6
-rw-r--r--src/lib/libcrypto/buffer/buffer.h5
-rw-r--r--src/lib/libcrypto/x509/by_dir.c6
-rw-r--r--src/lib/libssl/src/crypto/asn1/a_digest.c6
-rw-r--r--src/lib/libssl/src/crypto/asn1/a_sign.c6
-rw-r--r--src/lib/libssl/src/crypto/asn1/a_verify.c6
-rw-r--r--src/lib/libssl/src/crypto/buffer/buffer.h5
-rw-r--r--src/lib/libssl/src/crypto/x509/by_dir.c6
10 files changed, 18 insertions, 40 deletions
diff --git a/src/lib/libcrypto/asn1/a_digest.c b/src/lib/libcrypto/asn1/a_digest.c
index 52b7b0720e..751277f33a 100644
--- a/src/lib/libcrypto/asn1/a_digest.c
+++ b/src/lib/libcrypto/asn1/a_digest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_digest.c,v 1.13 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: a_digest.c,v 1.14 2014/06/24 19:37:58 miod 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 *
@@ -61,9 +61,7 @@
61 61
62#include "cryptlib.h" 62#include "cryptlib.h"
63 63
64#ifndef NO_SYS_TYPES_H 64#include <sys/types.h>
65# include <sys/types.h>
66#endif
67 65
68#include <openssl/err.h> 66#include <openssl/err.h>
69#include <openssl/evp.h> 67#include <openssl/evp.h>
diff --git a/src/lib/libcrypto/asn1/a_sign.c b/src/lib/libcrypto/asn1/a_sign.c
index 1cd9fdaecf..5f2a5e6253 100644
--- a/src/lib/libcrypto/asn1/a_sign.c
+++ b/src/lib/libcrypto/asn1/a_sign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_sign.c,v 1.17 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: a_sign.c,v 1.18 2014/06/24 19:37:58 miod 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 *
@@ -114,9 +114,7 @@
114 114
115#include "cryptlib.h" 115#include "cryptlib.h"
116 116
117#ifndef NO_SYS_TYPES_H 117#include <sys/types.h>
118# include <sys/types.h>
119#endif
120 118
121#include <openssl/bn.h> 119#include <openssl/bn.h>
122#include <openssl/evp.h> 120#include <openssl/evp.h>
diff --git a/src/lib/libcrypto/asn1/a_verify.c b/src/lib/libcrypto/asn1/a_verify.c
index 9ff6f94e16..cf6c9bbf44 100644
--- a/src/lib/libcrypto/asn1/a_verify.c
+++ b/src/lib/libcrypto/asn1/a_verify.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_verify.c,v 1.18 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: a_verify.c,v 1.19 2014/06/24 19:37:58 miod 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 *
@@ -62,9 +62,7 @@
62#include "cryptlib.h" 62#include "cryptlib.h"
63#include "asn1_locl.h" 63#include "asn1_locl.h"
64 64
65#ifndef NO_SYS_TYPES_H 65#include <sys/types.h>
66# include <sys/types.h>
67#endif
68 66
69#include <openssl/bn.h> 67#include <openssl/bn.h>
70#include <openssl/x509.h> 68#include <openssl/x509.h>
diff --git a/src/lib/libcrypto/buffer/buffer.h b/src/lib/libcrypto/buffer/buffer.h
index bdffc346b9..c3d140b392 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.10 2014/06/14 10:28:31 avsm Exp $ */ 1/* $OpenBSD: buffer.h,v 1.11 2014/06/24 19:37:58 miod 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 *
@@ -66,10 +66,7 @@ extern "C" {
66#endif 66#endif
67 67
68#include <stddef.h> 68#include <stddef.h>
69
70#if !defined(NO_SYS_TYPES_H)
71#include <sys/types.h> 69#include <sys/types.h>
72#endif
73 70
74/* Already declared in ossl_typ.h */ 71/* Already declared in ossl_typ.h */
75/* typedef struct buf_mem_st BUF_MEM; */ 72/* typedef struct buf_mem_st BUF_MEM; */
diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c
index 187eba4515..b4c00c820c 100644
--- a/src/lib/libcrypto/x509/by_dir.c
+++ b/src/lib/libcrypto/x509/by_dir.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: by_dir.c,v 1.28 2014/06/23 22:19:02 deraadt Exp $ */ 1/* $OpenBSD: by_dir.c,v 1.29 2014/06/24 19:37:58 miod 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 *
@@ -62,9 +62,7 @@
62 62
63#include "cryptlib.h" 63#include "cryptlib.h"
64 64
65#ifndef NO_SYS_TYPES_H 65#include <sys/types.h>
66# include <sys/types.h>
67#endif
68#ifndef OPENSSL_NO_POSIX_IO 66#ifndef OPENSSL_NO_POSIX_IO
69# include <sys/stat.h> 67# include <sys/stat.h>
70#endif 68#endif
diff --git a/src/lib/libssl/src/crypto/asn1/a_digest.c b/src/lib/libssl/src/crypto/asn1/a_digest.c
index 52b7b0720e..751277f33a 100644
--- a/src/lib/libssl/src/crypto/asn1/a_digest.c
+++ b/src/lib/libssl/src/crypto/asn1/a_digest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_digest.c,v 1.13 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: a_digest.c,v 1.14 2014/06/24 19:37:58 miod 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 *
@@ -61,9 +61,7 @@
61 61
62#include "cryptlib.h" 62#include "cryptlib.h"
63 63
64#ifndef NO_SYS_TYPES_H 64#include <sys/types.h>
65# include <sys/types.h>
66#endif
67 65
68#include <openssl/err.h> 66#include <openssl/err.h>
69#include <openssl/evp.h> 67#include <openssl/evp.h>
diff --git a/src/lib/libssl/src/crypto/asn1/a_sign.c b/src/lib/libssl/src/crypto/asn1/a_sign.c
index 1cd9fdaecf..5f2a5e6253 100644
--- a/src/lib/libssl/src/crypto/asn1/a_sign.c
+++ b/src/lib/libssl/src/crypto/asn1/a_sign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_sign.c,v 1.17 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: a_sign.c,v 1.18 2014/06/24 19:37:58 miod 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 *
@@ -114,9 +114,7 @@
114 114
115#include "cryptlib.h" 115#include "cryptlib.h"
116 116
117#ifndef NO_SYS_TYPES_H 117#include <sys/types.h>
118# include <sys/types.h>
119#endif
120 118
121#include <openssl/bn.h> 119#include <openssl/bn.h>
122#include <openssl/evp.h> 120#include <openssl/evp.h>
diff --git a/src/lib/libssl/src/crypto/asn1/a_verify.c b/src/lib/libssl/src/crypto/asn1/a_verify.c
index 9ff6f94e16..cf6c9bbf44 100644
--- a/src/lib/libssl/src/crypto/asn1/a_verify.c
+++ b/src/lib/libssl/src/crypto/asn1/a_verify.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_verify.c,v 1.18 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: a_verify.c,v 1.19 2014/06/24 19:37:58 miod 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 *
@@ -62,9 +62,7 @@
62#include "cryptlib.h" 62#include "cryptlib.h"
63#include "asn1_locl.h" 63#include "asn1_locl.h"
64 64
65#ifndef NO_SYS_TYPES_H 65#include <sys/types.h>
66# include <sys/types.h>
67#endif
68 66
69#include <openssl/bn.h> 67#include <openssl/bn.h>
70#include <openssl/x509.h> 68#include <openssl/x509.h>
diff --git a/src/lib/libssl/src/crypto/buffer/buffer.h b/src/lib/libssl/src/crypto/buffer/buffer.h
index bdffc346b9..c3d140b392 100644
--- a/src/lib/libssl/src/crypto/buffer/buffer.h
+++ b/src/lib/libssl/src/crypto/buffer/buffer.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: buffer.h,v 1.10 2014/06/14 10:28:31 avsm Exp $ */ 1/* $OpenBSD: buffer.h,v 1.11 2014/06/24 19:37:58 miod 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 *
@@ -66,10 +66,7 @@ extern "C" {
66#endif 66#endif
67 67
68#include <stddef.h> 68#include <stddef.h>
69
70#if !defined(NO_SYS_TYPES_H)
71#include <sys/types.h> 69#include <sys/types.h>
72#endif
73 70
74/* Already declared in ossl_typ.h */ 71/* Already declared in ossl_typ.h */
75/* typedef struct buf_mem_st BUF_MEM; */ 72/* typedef struct buf_mem_st BUF_MEM; */
diff --git a/src/lib/libssl/src/crypto/x509/by_dir.c b/src/lib/libssl/src/crypto/x509/by_dir.c
index 187eba4515..b4c00c820c 100644
--- a/src/lib/libssl/src/crypto/x509/by_dir.c
+++ b/src/lib/libssl/src/crypto/x509/by_dir.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: by_dir.c,v 1.28 2014/06/23 22:19:02 deraadt Exp $ */ 1/* $OpenBSD: by_dir.c,v 1.29 2014/06/24 19:37:58 miod 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 *
@@ -62,9 +62,7 @@
62 62
63#include "cryptlib.h" 63#include "cryptlib.h"
64 64
65#ifndef NO_SYS_TYPES_H 65#include <sys/types.h>
66# include <sys/types.h>
67#endif
68#ifndef OPENSSL_NO_POSIX_IO 66#ifndef OPENSSL_NO_POSIX_IO
69# include <sys/stat.h> 67# include <sys/stat.h>
70#endif 68#endif