diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2015-12-29 03:12:37 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-29 03:12:37 +0000 |
commit | 5d2f923e1665842f3fdf1f3d4dbfb2596c0ca4a0 (patch) | |
tree | 9ec5f7b841db3f49dc0878c41e1f7c9bc3365a4e /EmulatorPkg | |
parent | 5f297eae34598d1be5c3ca1383502f8733dc051e (diff) | |
download | edk2-platforms-5d2f923e1665842f3fdf1f3d4dbfb2596c0ca4a0.tar.xz |
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.
(Sync patch r18701 from main trunk.)
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/branches/UDK2015@19558 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmulatorPkg')
0 files changed, 0 insertions, 0 deletions