mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[crypto] Add certstat() to display basic certificate information
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -122,10 +122,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
__einfo_uniqify ( EINFO_EACCES, 0x0b, "No usable certificates" )
|
||||
|
||||
/**
|
||||
* Get X.509 certificate name (for debugging)
|
||||
* Get X.509 certificate display name
|
||||
*
|
||||
* @v cert X.509 certificate
|
||||
* @ret name Name (for debugging)
|
||||
* @ret name Display name
|
||||
*/
|
||||
const char * x509_name ( struct x509_certificate *cert ) {
|
||||
struct asn1_cursor *common_name = &cert->subject.common_name;
|
||||
|
||||
Reference in New Issue
Block a user