mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
phpseclib: also include version 3 in certmanager for CSR parsing
This commit is contained in:
parent
1f567a418a
commit
f6cebb421b
@ -99,7 +99,7 @@ function parse_csr($csr_str)
|
||||
return array('parse_success' => false);
|
||||
}
|
||||
|
||||
$x509_lib = new \phpseclib\File\X509();
|
||||
$x509_lib = new \phpseclib3\File\X509();
|
||||
$csr = $x509_lib->loadCSR($csr_str);
|
||||
if ($csr === false) {
|
||||
return array('parse_success' => false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user