ext/openssl/ossl_pkey.c in openssl-3.0.1 vs ext/openssl/ossl_pkey.c in openssl-3.0.2

- old
+ new

@@ -708,10 +708,10 @@ BIO_free(bio); ossl_raise(ePKeyError, "i2d_PrivateKey_bio"); } } else { -#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) +#if OSSL_OPENSSL_PREREQ(1, 1, 0) || OSSL_LIBRESSL_PREREQ(3, 5, 0) if (!PEM_write_bio_PrivateKey_traditional(bio, pkey, enc, NULL, 0, ossl_pem_passwd_cb, (void *)pass)) { #else char pem_str[80];