mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed certificate version (counting begins with 0, so 2 means version 3).
This commit is contained in:
parent
ce2a4d9121
commit
80ee75f11e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user