From ae75df6232ad30f3e8736e9449692d58a7439260 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Fri, 7 Apr 2017 15:57:09 +0800 Subject: [PATCH] MokManager: Update to new openssl API X509_get_notBefore -> X509_getm_notBefore X509_get_notAfter -> X509_getm_notAfter Signed-off-by: Gary Lin --- MokManager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MokManager.c b/MokManager.c index ebc85db..e0ba789 100644 --- a/MokManager.c +++ b/MokManager.c @@ -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)