]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Library/AuthVariableLib/AuthService.c
SecurityPkg/AuthVariableLib: Use EFI_CERT_DATA to parse certificate
authorchenc2 <chen.a.chen@intel.com>
Tue, 7 Nov 2017 01:01:26 +0000 (09:01 +0800)
committerZhang, Chao B <chao.b.zhang@intel.com>
Tue, 7 Nov 2017 14:06:54 +0000 (22:06 +0800)
commit62ba0febf517138a01c7a5f6d221ce6a2e4c28b6
tree584af2622a6a2039e834e856cd161fb127cf59ab
parent3702637a528707704fb37defea042f7b10709ec4
SecurityPkg/AuthVariableLib: Use EFI_CERT_DATA to parse certificate

The function Pkcs7GetSigners return certificate stack as binary buffer.
Use EFI_CERT_DATA to parsing certificate stack more clearly, and access
certificate by the field of EFI_CERT_DATA structure.

Cc: Long Qin <qin.long@intel.com>
Cc: Zhang Chao <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: chenc2 <chen.a.chen@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by: Zhang Chao <chao.b.zhang@intel.com>
SecurityPkg/Library/AuthVariableLib/AuthService.c