edk2/CryptoPkg/Library/BaseCryptLib/Pk
David Woodhouse 4ffe0facbe CryptoPkg/BaseCryptLib: Use accessor functions for X509_ATTRIBUTE
In OpenSSL 1.1, the X509_ATTRIBUTE becomes an opaque structure and we will
no longer get away with accessing its members directly. Use the accessor
functions X509_ATTRIBUTE_get0_object0() and X509_ATTRIBUTE_get0_type()
instead.

Also be slightly more defensive about unlikely failure modes.

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@18700 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-29 14:16:22 +00:00
..
CryptAuthenticode.c CryptoPkg: Wrapper files updates to support openssl-1.0.2c 2015-06-16 00:54:16 +00:00
CryptAuthenticodeNull.c Add interfaces to several library instances of BaseCryptLib. 2012-07-18 09:32:05 +00:00
CryptDh.c CryptoPkg/BaseCryptLib: Add missing OpenSSL includes 2015-10-29 14:15:53 +00:00
CryptDhNull.c Add interfaces to several library instances of BaseCryptLib. 2012-07-18 09:32:05 +00:00
CryptPkcs7Sign.c CryptoPkg: Wrapper files updates to support openssl-1.0.2c 2015-06-16 00:54:16 +00:00
CryptPkcs7SignNull.c Add interfaces to several library instances of BaseCryptLib. 2012-07-18 09:32:05 +00:00
CryptPkcs7Verify.c CryptoPkg: Fix the dereferenced pointer issue 2015-06-30 03:27:23 +00:00
CryptPkcs7VerifyNull.c CryptoPkg: Make the function headers of Pkcs7GetAttachedContent follow Doxygen. 2015-07-14 02:24:22 +00:00
CryptRsaBasic.c CryptoPkg/BaseCryptLib: Add missing OpenSSL includes 2015-10-29 14:15:53 +00:00
CryptRsaExt.c CryptoPkg/BaseCryptLib: Add missing OpenSSL includes 2015-10-29 14:15:53 +00:00
CryptRsaExtNull.c Add interfaces to several library instances of BaseCryptLib. 2012-07-18 09:32:05 +00:00
CryptTs.c CryptoPkg/BaseCryptLib: Use accessor functions for X509_ATTRIBUTE 2015-10-29 14:16:22 +00:00
CryptTsNull.c CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
CryptX509.c CryptoPkg/BaseCryptLib: Use i2d_X509_NAME() instead of abusing X509_NAME 2015-10-29 14:16:15 +00:00
CryptX509Null.c CryptoPkg: Add some comments for API usage clarification. 2015-06-19 02:46:51 +00:00