summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/CryptoPkg.dec
diff options
context:
space:
mode:
authorLong Qin <qin.long@intel.com>2017-04-06 13:53:06 +0800
committerQin Long <qin.long@intel.com>2017-04-07 00:22:07 +0800
commitabc4c8173dab56633e883847721da577e8c80388 (patch)
tree2d1d71b0cb6a8448b578f331feee1972ce32f7a4 /CryptoPkg/CryptoPkg.dec
parentcffa7925a293d991957bc47865eac25516b59e63 (diff)
downloadedk2-abc4c8173dab56633e883847721da577e8c80388.tar.gz
edk2-abc4c8173dab56633e883847721da577e8c80388.tar.bz2
edk2-abc4c8173dab56633e883847721da577e8c80388.zip
CryptoPkg: Move openssl and CRT headers to private include section
Moving the header files for openssl and CRT wrappers to the private include section, since these files should be referenced by CryptoPkg internally. This update was supported by new [Includes.Common.Private] setting in Package DEC file. The external consumer modules should only use the interfaces defined in BaseCryptLib.h to access crypto functions. This change will be helpful to immediately detect any illegal direct reference to internal openssl headers. The Perl script "process_files.pl" was also updated to reflect the new private include path. Cc: Gao Liming <liming.gao@intel.com> Cc: Ting Ye <ting.ye@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qin Long <qin.long@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
Diffstat (limited to 'CryptoPkg/CryptoPkg.dec')
-rw-r--r--CryptoPkg/CryptoPkg.dec3
1 files changed, 3 insertions, 0 deletions
diff --git a/CryptoPkg/CryptoPkg.dec b/CryptoPkg/CryptoPkg.dec
index fdccbf06f7..b2fae6142a 100644
--- a/CryptoPkg/CryptoPkg.dec
+++ b/CryptoPkg/CryptoPkg.dec
@@ -24,6 +24,9 @@
[Includes]
Include
+
+[Includes.Common.Private]
+ Library/Include
Library/OpensslLib/openssl/include
Library/OpensslLib/openssl/crypto/include