mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 09:54:10 +00:00
Merge branch '3.0'
This commit is contained in:
commit
25be1ed285
@ -1477,7 +1477,7 @@ abstract class ASN1
|
|||||||
$temp = $str;
|
$temp = $str;
|
||||||
} else {
|
} else {
|
||||||
$temp = preg_replace('#.*?^-+[^-]+-+[\r\n ]*$#ms', '', $str, 1);
|
$temp = preg_replace('#.*?^-+[^-]+-+[\r\n ]*$#ms', '', $str, 1);
|
||||||
$temp = preg_replace('#-+END.*[\r\n ]*.*#ms', '', $str, 1);
|
$temp = preg_replace('#-+END.*[\r\n ]*.*#ms', '', $temp, 1);
|
||||||
}
|
}
|
||||||
// remove new lines
|
// remove new lines
|
||||||
$temp = str_replace(["\r", "\n", ' '], '', $temp);
|
$temp = str_replace(["\r", "\n", ' '], '', $temp);
|
||||||
|
Loading…
Reference in New Issue
Block a user