diff options
author | jsing <> | 2014-07-11 08:44:49 +0000 |
---|---|---|
committer | jsing <> | 2014-07-11 08:44:49 +0000 |
commit | 8c3482db610348be15fb633bb52b0511c2cabbcf (patch) | |
tree | 0e726f9e971e00f4c8cd8afab71589803fc11b7f /src/lib/libcrypto/ocsp/ocsp_lib.c | |
parent | a336cdb63c1fe5d934826147bf5c19d317ced73b (diff) | |
download | openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.tar.gz openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.tar.bz2 openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.zip |
Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.
ok beck@ miod@
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_lib.c')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_lib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_lib.c b/src/lib/libcrypto/ocsp/ocsp_lib.c index eda627f4ed..8599e48bff 100644 --- a/src/lib/libcrypto/ocsp/ocsp_lib.c +++ b/src/lib/libcrypto/ocsp/ocsp_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ocsp_lib.c,v 1.13 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: ocsp_lib.c,v 1.14 2014/07/11 08:44:49 jsing Exp $ */ |
2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL | 2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL |
3 | * project. */ | 3 | * project. */ |
4 | 4 | ||
@@ -61,19 +61,19 @@ | |||
61 | * | 61 | * |
62 | */ | 62 | */ |
63 | 63 | ||
64 | #include <cryptlib.h> | ||
65 | #include <stdio.h> | 64 | #include <stdio.h> |
66 | #include <string.h> | 65 | #include <string.h> |
67 | 66 | ||
68 | #include <openssl/opensslconf.h> | 67 | #include <openssl/opensslconf.h> |
69 | 68 | ||
69 | #include <openssl/asn1t.h> | ||
70 | #include <openssl/err.h> | ||
70 | #include <openssl/objects.h> | 71 | #include <openssl/objects.h> |
72 | #include <openssl/ocsp.h> | ||
73 | #include <openssl/pem.h> | ||
71 | #include <openssl/rand.h> | 74 | #include <openssl/rand.h> |
72 | #include <openssl/x509.h> | 75 | #include <openssl/x509.h> |
73 | #include <openssl/pem.h> | ||
74 | #include <openssl/x509v3.h> | 76 | #include <openssl/x509v3.h> |
75 | #include <openssl/ocsp.h> | ||
76 | #include <openssl/asn1t.h> | ||
77 | 77 | ||
78 | /* Convert a certificate and its issuer to an OCSP_CERTID */ | 78 | /* Convert a certificate and its issuer to an OCSP_CERTID */ |
79 | 79 | ||