CryptoPkg: Move openssl and CRT headers to private include section
authorLong Qin <>
Thu, 6 Apr 2017 05:53:06 +0000 (13:53 +0800)
committerQin Long <>
Thu, 6 Apr 2017 16:22:07 +0000 (00:22 +0800)
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 "" was also updated to reflect the new
private include path.

Cc: Gao Liming <>
Cc: Ting Ye <>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <>
Reviewed-by: Ye Ting <>
40 files changed:
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]