diff options
author | Stefan Roehrich <sr@php.net> | 2003-07-13 09:38:32 +0000 |
---|---|---|
committer | Stefan Roehrich <sr@php.net> | 2003-07-13 09:38:32 +0000 |
commit | 80ee75f11ebef0a9c067bc6132c59ed32ad04129 (patch) | |
tree | 5ba28808aa7e362ec97c2fc4eb17718d0d96a617 /ext/openssl | |
parent | ce2a4d9121cbb4ec677d08be0ebc812669ab560f (diff) | |
download | php-git-80ee75f11ebef0a9c067bc6132c59ed32ad04129.tar.gz |
Fixed certificate version (counting begins with 0, so 2 means version 3).
Diffstat (limited to 'ext/openssl')
-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 */ |