From: Geoff Thorpe Date: Sat, 11 Oct 2014 18:31:53 +0000 (-0400) Subject: Include instead of "foo.h" X-Git-Tag: master-pre-reformat~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e52a3c3d1401fb917df3aa80a19575521cabe4f4;p=openssl Include instead of "foo.h" Exported headers shouldn't be included as "foo.h" by code from the same module, it should only do so for module-internal headers. This is because the symlinking of exported headers (from include/openssl/foo.h to crypto/foo/foo.h) is being removed, and the exported headers are being moved to the include/openssl/ directory instead. Change-Id: I4c1d80849544713308ddc6999a549848afc25f94 Signed-off-by: Geoff Thorpe Reviewed-by: Rich Salz --- diff --git a/crypto/bn/bn_const.c b/crypto/bn/bn_const.c index eb60a25b3c..f5f761b533 100755 --- a/crypto/bn/bn_const.c +++ b/crypto/bn/bn_const.c @@ -1,7 +1,7 @@ /* crypto/bn/knownprimes.c */ /* Insert boilerplate */ -#include "bn.h" +#include /* "First Oakley Default Group" from RFC2409, section 6.1. * diff --git a/crypto/camellia/camellia.c b/crypto/camellia/camellia.c index 75fc8991c0..c32d3a3304 100644 --- a/crypto/camellia/camellia.c +++ b/crypto/camellia/camellia.c @@ -81,7 +81,7 @@ * words reasonable performance even with not so modern compilers. */ -#include "camellia.h" +#include #include "cmll_locl.h" #include #include diff --git a/crypto/cms/cms_asn1.c b/crypto/cms/cms_asn1.c index 83ae2cc0f3..348716b772 100644 --- a/crypto/cms/cms_asn1.c +++ b/crypto/cms/cms_asn1.c @@ -54,7 +54,7 @@ #include #include #include -#include "cms.h" +#include #include "cms_lcl.h" diff --git a/crypto/cms/cms_att.c b/crypto/cms/cms_att.c index 5b71722ebc..7fdb050c99 100644 --- a/crypto/cms/cms_att.c +++ b/crypto/cms/cms_att.c @@ -55,7 +55,7 @@ #include #include #include -#include "cms.h" +#include #include "cms_lcl.h" /* CMS SignedData Attribute utilities */ diff --git a/crypto/cms/cms_io.c b/crypto/cms/cms_io.c index 1cb0264cc5..f332a303d3 100644 --- a/crypto/cms/cms_io.c +++ b/crypto/cms/cms_io.c @@ -55,7 +55,7 @@ #include #include #include -#include "cms.h" +#include #include "cms_lcl.h" int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms) diff --git a/crypto/cms/cms_lib.c b/crypto/cms/cms_lib.c index 0a8200cc38..8257d06fd5 100644 --- a/crypto/cms/cms_lib.c +++ b/crypto/cms/cms_lib.c @@ -57,7 +57,7 @@ #include #include #include -#include "cms.h" +#include #include "cms_lcl.h" IMPLEMENT_ASN1_FUNCTIONS(CMS_ContentInfo) diff --git a/crypto/jpake/jpake.c b/crypto/jpake/jpake.c index 19382e3b81..9167a8d60d 100644 --- a/crypto/jpake/jpake.c +++ b/crypto/jpake/jpake.c @@ -1,5 +1,4 @@ -#include "jpake.h" - +#include #include #include #include diff --git a/crypto/o_time.c b/crypto/o_time.c index 867ca5ec6e..84aa5c39fc 100644 --- a/crypto/o_time.c +++ b/crypto/o_time.c @@ -61,7 +61,7 @@ #include #include -#include "crypto.h" +#include #ifdef OPENSSL_SYS_VMS # if __CRTL_VER >= 70000000 && \ diff --git a/crypto/pqueue/pqueue.c b/crypto/pqueue/pqueue.c index eab13a1250..53135d029a 100644 --- a/crypto/pqueue/pqueue.c +++ b/crypto/pqueue/pqueue.c @@ -59,7 +59,7 @@ #include "cryptlib.h" #include -#include "pqueue.h" +#include typedef struct _pqueue { diff --git a/crypto/ts/ts_lib.c b/crypto/ts/ts_lib.c index e8608dbf71..ca510267fc 100644 --- a/crypto/ts/ts_lib.c +++ b/crypto/ts/ts_lib.c @@ -61,7 +61,7 @@ #include #include #include -#include "ts.h" +#include /* Local function declarations. */ diff --git a/crypto/ts/ts_rsp_print.c b/crypto/ts/ts_rsp_print.c index 4657f87a83..fc2efc64e5 100644 --- a/crypto/ts/ts_rsp_print.c +++ b/crypto/ts/ts_rsp_print.c @@ -61,7 +61,7 @@ #include #include #include -#include "ts.h" +#include struct status_map_st { diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c index ac1bef00ac..f18f4a0103 100644 --- a/ssl/d1_srtp.c +++ b/ssl/d1_srtp.c @@ -120,7 +120,6 @@ #include #include #include "ssl_locl.h" -#include "srtp.h" static SRTP_PROTECTION_PROFILE srtp_known_profiles[]=