summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2017-04-07 15:57:09 +0800
committerPeter Jones <pjones@redhat.com>2017-04-11 10:42:19 -0400
commitae75df6232ad30f3e8736e9449692d58a7439260 (patch)
tree4cfe52ddb05ab94dffbb158fbff2d2b1717bfd3b
parente883479f35644d17db7efed710657c8543cfcb68 (diff)
downloadefi-boot-shim-ae75df6232ad30f3e8736e9449692d58a7439260.tar.gz
efi-boot-shim-ae75df6232ad30f3e8736e9449692d58a7439260.zip
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>
-rw-r--r--MokManager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MokManager.c b/MokManager.c
index ebc85db9..e0ba789c 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)