diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index b2a8d4cc..fdd12a21 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -2751,7 +2751,7 @@ class X509 $this->setExtension( 'id-ce-basicConstraints', - array_unique(array_merge(['cA' => true], $basicConstraints)), + array_merge(['cA' => true], $basicConstraints), true );