audk/CryptoPkg/Library/BaseCryptLib
David Woodhouse 338bfd970a CryptoPkg/BaseCryptLib: Use accessor functions for ASN1_OBJECT
OpenSSL 1.1 introduces new OBJ_get0_data() and OBJ_length() accessor
functions and makes ASN1_OBJECT an opaque type.

Unlike the accessors in previous commits which *did* actually exist
already but just weren't mandatory, these don't exist in older versions
of OpenSSL. So introduce macros which do the right thing, for
compatibility.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Qin Long <qin.long@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18701 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-29 14:16:30 +00:00
..
Cipher CryptoPkg: Fix one wrong parameter for weak key checking 2015-09-02 08:44:46 +00:00
Hash CryptoPkg: remove redundant parentheses 2015-07-14 02:57:38 +00:00
Hmac Fix several issues in BaseCryptLib: 2012-08-02 02:49:24 +00:00
Pem Enhance error handling code after calling BIO_new in BaseCryptLib. 2013-08-07 08:11:14 +00:00
Pk CryptoPkg/BaseCryptLib: Use accessor functions for ASN1_OBJECT 2015-10-29 14:16:30 +00:00
Rand Fixed one typo in MathRShiftU64.S stub implementation; Add one digest algorithm registration to make sure the underlying algorithm is available for the default OpenSSL software PRNG implementation. 2013-11-19 02:57:19 +00:00
SysCall CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
BaseCryptLib.inf Update the build option to eliminate possible build warning for IPF platform. 2014-12-10 08:05:42 +00:00
BaseCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00
InternalCryptLib.h CryptoPkg/BaseCryptLib: Use accessor functions for ASN1_OBJECT 2015-10-29 14:16:30 +00:00
PeiCryptLib.inf CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
PeiCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00
RuntimeCryptLib.inf CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
RuntimeCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00
SmmCryptLib.inf CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
SmmCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00