mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-12 20:49:58 +00:00
MokManager: Update to new openssl API
X509_get_notBefore -> X509_getm_notBefore X509_get_notAfter -> X509_getm_notAfter Signed-off-by: Gary Lin <glin@suse.com>
This commit is contained in:
parent
e883479f35
commit
ae75df6232
@ -379,14 +379,14 @@ static void show_x509_info (X509 *X509Cert, UINT8 *hash)
|
||||
fields++;
|
||||
}
|
||||
|
||||
time = X509_get_notBefore(X509Cert);
|
||||
time = X509_getm_notBefore(X509Cert);
|
||||
if (time) {
|
||||
from = get_x509_time(time);
|
||||
if (from)
|
||||
fields++;
|
||||
}
|
||||
|
||||
time = X509_get_notAfter(X509Cert);
|
||||
time = X509_getm_notAfter(X509Cert);
|
||||
if (time) {
|
||||
until = get_x509_time(time);
|
||||
if (until)
|
||||
|
Loading…
Reference in New Issue
Block a user