cvs: php-src /ext/openssl openssl.c
| From: | Stefan Roehrich | Date: | Sun, 13 Jul 2003 09:38:31 +0000 |
| Subject: | cvs: php-src /ext/openssl openssl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22532@lists.php.net to get a copy of this message | ||
sr Sun Jul 13 05:38:31 2003 EDT
Modified files:
/php-src/ext/openssl openssl.c
Log:
Fixed certificate version (counting begins with 0, so 2 means version 3).
Index: php-src/ext/openssl/openssl.c
diff -u php-src/ext/openssl/openssl.c:1.76 php-src/ext/openssl/openssl.c:1.77
--- php-src/ext/openssl/openssl.c:1.76 Tue Jun 10 16:03:34 2003
+++ php-src/ext/openssl/openssl.c Sun Jul 13 05:38:31 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: openssl.c,v 1.76 2003/06/10 20:03:34 imajes Exp $ */
+/* $Id: openssl.c,v 1.77 2003/07/13 09:38:31 sr Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1532,7 +1532,7 @@
goto cleanup;
}
/* Version 3 cert */
- if (!X509_set_version(new_cert, 3))
+ if (!X509_set_version(new_cert, 2))
goto cleanup;
/* TODO: Allow specifying */