Skip to content

Commit

Permalink
X509: CRL default version should be v1 - not v2
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Sep 16, 2024
1 parent d849251 commit 1dba426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpseclib/File/ASN1/Maps/TBSCertList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

1 comment on commit 1dba426

@terrafrost
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #2037

Please sign in to comment.