diff options
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r-- | src/lib/libcrypto/x509/by_dir.c | 8 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_cmp.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_err.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_req.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x_all.c | 5 |
7 files changed, 25 insertions, 9 deletions
diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c index 2a5fb04373..110c22d6f5 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.30 2014/07/10 13:58:23 jsing Exp $ */ | 1 | /* $OpenBSD: by_dir.c,v 1.31 2014/07/10 22:45:58 jsing 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 | * |
@@ -56,15 +56,18 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <sys/types.h> | ||
60 | |||
59 | #include <errno.h> | 61 | #include <errno.h> |
60 | #include <stdio.h> | 62 | #include <stdio.h> |
61 | #include <string.h> | 63 | #include <string.h> |
62 | #include <time.h> | 64 | #include <time.h> |
63 | #include <unistd.h> | 65 | #include <unistd.h> |
64 | 66 | ||
67 | #include <openssl/opensslconf.h> | ||
68 | |||
65 | #include "cryptlib.h" | 69 | #include "cryptlib.h" |
66 | 70 | ||
67 | #include <sys/types.h> | ||
68 | #ifndef OPENSSL_NO_POSIX_IO | 71 | #ifndef OPENSSL_NO_POSIX_IO |
69 | # include <sys/stat.h> | 72 | # include <sys/stat.h> |
70 | #endif | 73 | #endif |
@@ -72,7 +75,6 @@ | |||
72 | #include <openssl/lhash.h> | 75 | #include <openssl/lhash.h> |
73 | #include <openssl/x509.h> | 76 | #include <openssl/x509.h> |
74 | 77 | ||
75 | |||
76 | typedef struct lookup_dir_hashes_st { | 78 | typedef struct lookup_dir_hashes_st { |
77 | unsigned long hash; | 79 | unsigned long hash; |
78 | int suffix; | 80 | int suffix; |
diff --git a/src/lib/libcrypto/x509/x509_cmp.c b/src/lib/libcrypto/x509/x509_cmp.c index aa85286d8b..20b4ceba27 100644 --- a/src/lib/libcrypto/x509/x509_cmp.c +++ b/src/lib/libcrypto/x509/x509_cmp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_cmp.c,v 1.20 2014/07/10 13:58:23 jsing Exp $ */ | 1 | /* $OpenBSD: x509_cmp.c,v 1.21 2014/07/10 22:45:58 jsing 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,8 @@ | |||
60 | #include <stdio.h> | 60 | #include <stdio.h> |
61 | #include <string.h> | 61 | #include <string.h> |
62 | 62 | ||
63 | #include <openssl/opensslconf.h> | ||
64 | |||
63 | #include "cryptlib.h" | 65 | #include "cryptlib.h" |
64 | #include <openssl/asn1.h> | 66 | #include <openssl/asn1.h> |
65 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
diff --git a/src/lib/libcrypto/x509/x509_err.c b/src/lib/libcrypto/x509/x509_err.c index 93b8fa7698..6a15ac9fd0 100644 --- a/src/lib/libcrypto/x509/x509_err.c +++ b/src/lib/libcrypto/x509/x509_err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_err.c,v 1.11 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: x509_err.c,v 1.12 2014/07/10 22:45:58 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -59,6 +59,9 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include <stdio.h> | 61 | #include <stdio.h> |
62 | |||
63 | #include <openssl/opensslconf.h> | ||
64 | |||
62 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
63 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
64 | 67 | ||
diff --git a/src/lib/libcrypto/x509/x509_req.c b/src/lib/libcrypto/x509/x509_req.c index b041a154e4..d22fc12a70 100644 --- a/src/lib/libcrypto/x509/x509_req.c +++ b/src/lib/libcrypto/x509/x509_req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_req.c,v 1.13 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: x509_req.c,v 1.14 2014/07/10 22:45:58 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/bn.h> | 64 | #include <openssl/bn.h> |
62 | #include <openssl/evp.h> | 65 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 5150ffa5d2..60067d220f 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.c,v 1.31 2014/07/10 13:58:23 jsing Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.32 2014/07/10 22:45:58 jsing 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,6 +62,8 @@ | |||
62 | #include <time.h> | 62 | #include <time.h> |
63 | #include <unistd.h> | 63 | #include <unistd.h> |
64 | 64 | ||
65 | #include <openssl/opensslconf.h> | ||
66 | |||
65 | #include "cryptlib.h" | 67 | #include "cryptlib.h" |
66 | #include <openssl/crypto.h> | 68 | #include <openssl/crypto.h> |
67 | #include <openssl/lhash.h> | 69 | #include <openssl/lhash.h> |
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index dfc0f700dc..5b411ca678 100644 --- a/src/lib/libcrypto/x509/x509_vfy.h +++ b/src/lib/libcrypto/x509/x509_vfy.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.12 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.13 2014/07/10 22:45:58 jsing 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,6 +66,7 @@ | |||
66 | #define HEADER_X509_VFY_H | 66 | #define HEADER_X509_VFY_H |
67 | 67 | ||
68 | #include <openssl/opensslconf.h> | 68 | #include <openssl/opensslconf.h> |
69 | |||
69 | #ifndef OPENSSL_NO_LHASH | 70 | #ifndef OPENSSL_NO_LHASH |
70 | #include <openssl/lhash.h> | 71 | #include <openssl/lhash.h> |
71 | #endif | 72 | #endif |
diff --git a/src/lib/libcrypto/x509/x_all.c b/src/lib/libcrypto/x509/x_all.c index 4461c7dda9..f01e47416d 100644 --- a/src/lib/libcrypto/x509/x_all.c +++ b/src/lib/libcrypto/x509/x_all.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_all.c,v 1.16 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: x_all.c,v 1.17 2014/07/10 22:45:58 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include <openssl/stack.h> | 63 | #include <openssl/stack.h> |
61 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
62 | #include <openssl/buffer.h> | 65 | #include <openssl/buffer.h> |