From 5d352641a86c09856db4f6062e3954a48cc261b5 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Sat, 30 Dec 2017 12:09:08 -0500 Subject: [PATCH] ASN_BASE error ASN_BASE not found. Probably a namespace thing. --- src/Util/Crypto.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Util/Crypto.php b/src/Util/Crypto.php index 433a5cd674..1e304bc09b 100644 --- a/src/Util/Crypto.php +++ b/src/Util/Crypto.php @@ -156,7 +156,7 @@ class Crypto unset($lines[count($lines)]); $x = base64_decode(implode('', $lines)); - $r = ASN_BASE::parseASNString($x); + $r = parseASNString($x); $m = base64url_decode($r[0]->asnData[0]->asnData); $e = base64url_decode($r[0]->asnData[1]->asnData); @@ -195,7 +195,7 @@ class Crypto unset($lines[count($lines)]); $x = base64_decode(implode('', $lines)); - $r = ASN_BASE::parseASNString($x); + $r = parseASNString($x); $m = base64url_decode($r[0]->asnData[1]->asnData[0]->asnData[0]->asnData); $e = base64url_decode($r[0]->asnData[1]->asnData[0]->asnData[1]->asnData); -- 2.39.5