Skip to content

Commit c5fb035

Browse files
committed
openssl: Fix merge
Diffs in commit messages are applied by git, what a stupid design. So this can introduce accidental changes like here where the original reproducer got applied.
1 parent 79b1ca2 commit c5fb035

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ext/openssl/openssl.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2968,9 +2968,7 @@ static zend_result php_openssl_csr_make(struct php_x509_request * req, X509_REQ
29682968
}
29692969
}
29702970
/* setup the version number: version 1 */
2971-
static int counter = 0;
2972-
counter++;
2973-
if (counter!=2&&X509_REQ_set_version(csr, 0L)) {
2971+
if (X509_REQ_set_version(csr, 0L)) {
29742972
int i, nid;
29752973
char *type;
29762974
CONF_VALUE *v;

0 commit comments

Comments
 (0)