diff options
-rw-r--r-- | ext/openssl/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 366d418da5..7014886fee 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1532,7 +1532,7 @@ PHP_FUNCTION(openssl_csr_sign) goto cleanup; } /* Version 3 cert */ - if (!X509_set_version(new_cert, 3)) + if (!X509_set_version(new_cert, 2)) goto cleanup; /* TODO: Allow specifying */ |