From 12b9b9d2dd97520fdd56c831eb3931ba8a77610f Mon Sep 17 00:00:00 2001
From: Postmodern <postmodern.mod3@gmail.com>
Date: Sun, 21 Jul 2024 14:53:20 -0700
Subject: [PATCH] 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`.
---
 spec/crypto/cert_spec.rb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/spec/crypto/cert_spec.rb b/spec/crypto/cert_spec.rb
index 9f11c48a..12120067 100644
--- a/spec/crypto/cert_spec.rb
+++ b/spec/crypto/cert_spec.rb
@@ -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