diff options
author | Qin Long <qin.long@intel.com> | 2017-09-24 23:42:16 +0800 |
---|---|---|
committer | Qin Long <qin.long@intel.com> | 2017-09-25 00:06:41 +0800 |
commit | 5b7c22450591a9e20ff54b970c11087ccfff563d (patch) | |
tree | 8b6859c395ecbc4f3aa208692915f95d8847d528 /BaseTools/Source/Python | |
parent | fc8be1ad9ab310b1c7752985c982b66a5a377f1a (diff) | |
download | edk2-5b7c22450591a9e20ff54b970c11087ccfff563d.tar.gz edk2-5b7c22450591a9e20ff54b970c11087ccfff563d.tar.bz2 edk2-5b7c22450591a9e20ff54b970c11087ccfff563d.zip |
CryptoPkg: Add new API to retrieve commonName of X.509 certificate
v3: Add extra CommonNameSize check since OpenSSL didn't check this
input parameter. (One openssl issue was filed to address this risk:
https://github.com/openssl/openssl/issues/4392)
v2: Update function interface to return RETURN_STATUS to represent
different error cases.
Add one new API (X509GetCommonName()) to retrieve the subject commonName
string from one X.509 certificate.
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ting Ye <ting.ye@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions