diff options
Diffstat (limited to 'src/lib/libcrypto/x509/by_dir.c')
-rw-r--r-- | src/lib/libcrypto/x509/by_dir.c | 8 |
1 files changed, 5 insertions, 3 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; |