Skip to content

Commit 12b9b9d

Browse files
committed
In openssl 3.2.x if extensions are given, the version will be set to 2.
* 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`.
1 parent 443fdd7 commit 12b9b9d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spec/crypto/cert_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,6 @@
383383
state: state,
384384
country: country
385385
}
386-
# BUG: specifying extensions causes cert.version to be upgraded to 2
387-
# on ruby >= 3.2 and openssl 3.2.1.
388-
# extensions: extensions
389386
)
390387
end
391388

0 commit comments

Comments
 (0)