CryptoPkg: Move openssl and CRT headers to private include section
authorLong Qin <qin.long@intel.com>
Thu, 6 Apr 2017 05:53:06 +0000 (13:53 +0800)
committerQin Long <qin.long@intel.com>
Thu, 6 Apr 2017 16:22:07 +0000 (00:22 +0800)
commitabc4c8173dab56633e883847721da577e8c80388
tree2d1d71b0cb6a8448b578f331feee1972ce32f7a4
parentcffa7925a293d991957bc47865eac25516b59e63
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>
40 files changed:
CryptoPkg/CryptoPkg.dec
CryptoPkg/Include/CrtLibSupport.h [deleted file]
CryptoPkg/Include/assert.h [deleted file]
CryptoPkg/Include/ctype.h [deleted file]
CryptoPkg/Include/errno.h [deleted file]
CryptoPkg/Include/internal/dso_conf.h [deleted file]
CryptoPkg/Include/limits.h [deleted file]
CryptoPkg/Include/memory.h [deleted file]
CryptoPkg/Include/openssl/opensslconf.h [deleted file]
CryptoPkg/Include/stdarg.h [deleted file]
CryptoPkg/Include/stddef.h [deleted file]
CryptoPkg/Include/stdio.h [deleted file]
CryptoPkg/Include/stdlib.h [deleted file]
CryptoPkg/Include/string.h [deleted file]
CryptoPkg/Include/strings.h [deleted file]
CryptoPkg/Include/sys/time.h [deleted file]
CryptoPkg/Include/sys/types.h [deleted file]
CryptoPkg/Include/syslog.h [deleted file]
CryptoPkg/Include/time.h [deleted file]
CryptoPkg/Include/unistd.h [deleted file]
CryptoPkg/Library/Include/CrtLibSupport.h [new file with mode: 0644]
CryptoPkg/Library/Include/assert.h [new file with mode: 0644]
CryptoPkg/Library/Include/ctype.h [new file with mode: 0644]
CryptoPkg/Library/Include/errno.h [new file with mode: 0644]
CryptoPkg/Library/Include/internal/dso_conf.h [new file with mode: 0644]
CryptoPkg/Library/Include/limits.h [new file with mode: 0644]
CryptoPkg/Library/Include/memory.h [new file with mode: 0644]
CryptoPkg/Library/Include/openssl/opensslconf.h [new file with mode: 0644]
CryptoPkg/Library/Include/stdarg.h [new file with mode: 0644]
CryptoPkg/Library/Include/stddef.h [new file with mode: 0644]
CryptoPkg/Library/Include/stdio.h [new file with mode: 0644]
CryptoPkg/Library/Include/stdlib.h [new file with mode: 0644]
CryptoPkg/Library/Include/string.h [new file with mode: 0644]
CryptoPkg/Library/Include/strings.h [new file with mode: 0644]
CryptoPkg/Library/Include/sys/time.h [new file with mode: 0644]
CryptoPkg/Library/Include/sys/types.h [new file with mode: 0644]
CryptoPkg/Library/Include/syslog.h [new file with mode: 0644]
CryptoPkg/Library/Include/time.h [new file with mode: 0644]
CryptoPkg/Library/Include/unistd.h [new file with mode: 0644]
CryptoPkg/Library/OpensslLib/process_files.pl