Skip to content

Commit

Permalink
In openssl 3.2.x if extensions are given, the version will be set to 2.
Browse files Browse the repository at this point in the history
* X509 extensions support was added in V3 (aka `cert.version = 2`), so if
  extensions are given, then the X509 version is automatically upgraded
  to `2`.
  • Loading branch information
postmodern committed Jul 21, 2024
1 parent 443fdd7 commit 12b9b9d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/crypto/cert_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,6 @@
state: state,
country: country
}
# BUG: specifying extensions causes cert.version to be upgraded to 2
# on ruby >= 3.2 and openssl 3.2.1.
# extensions: extensions
)
end

Expand Down

0 comments on commit 12b9b9d

Please sign in to comment.