summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/OpensslLib/process_files.pl
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/Library/OpensslLib/process_files.pl
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/Library/OpensslLib/process_files.pl')
-rw-r--r--CryptoPkg/Library/OpensslLib/process_files.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl b/CryptoPkg/Library/OpensslLib/process_files.pl
index 4a60073485..f6e1f43641 100644
--- a/CryptoPkg/Library/OpensslLib/process_files.pl
+++ b/CryptoPkg/Library/OpensslLib/process_files.pl
@@ -214,7 +214,7 @@ print "Done!";
#
print "\n--> Duplicating opensslconf.h into Include/openssl ... ";
copy($OPENSSL_PATH . "/include/openssl/opensslconf.h",
- $OPENSSL_PATH . "/../../../Include/openssl/") ||
+ $OPENSSL_PATH . "/../../Include/openssl/") ||
die "Cannot copy opensslconf.h!";
print "Done!\n";