mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-15 11:01:15 +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++;
|
fields++;
|
||||||
}
|
}
|
||||||
|
|
||||||
time = X509_get_notBefore(X509Cert);
|
time = X509_getm_notBefore(X509Cert);
|
||||||
if (time) {
|
if (time) {
|
||||||
from = get_x509_time(time);
|
from = get_x509_time(time);
|
||||||
if (from)
|
if (from)
|
||||||
fields++;
|
fields++;
|
||||||
}
|
}
|
||||||
|
|
||||||
time = X509_get_notAfter(X509Cert);
|
time = X509_getm_notAfter(X509Cert);
|
||||||
if (time) {
|
if (time) {
|
||||||
until = get_x509_time(time);
|
until = get_x509_time(time);
|
||||||
if (until)
|
if (until)
|
||||||
|
Loading…
Reference in New Issue
Block a user