X509: CRL default version should be v1 - not v2

This commit is contained in:
terrafrost 2024-09-15 21:45:40 -05:00
parent d84925124d
commit 1dba4262e9

View File

@ -27,9 +27,9 @@ abstract class TBSCertList
'children' => [
'version' => [
'type' => ASN1::TYPE_INTEGER,
'mapping' => ['v1', 'v2', 'v3'],
'mapping' => ['v1', 'v2'],
'optional' => true,
'default' => 'v2'
'default' => 'v1'
],
'signature' => AlgorithmIdentifier::MAP,
'issuer' => Name::MAP,