From: Richard Levitte Date: Thu, 3 Apr 2003 18:50:15 +0000 (+0000) Subject: Reset the version number of the issuer certificate? I believe this X-Git-Tag: BEN_FIPS_TEST_1~38^2~174 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4448f60d67f594ca2016a6a4f6277eda67b8f55;p=oweals%2Fopenssl.git Reset the version number of the issuer certificate? I believe this hasn't been tested in a long while... --- diff --git a/apps/ca.c b/apps/ca.c index 0f8abc85ee..0f65506d75 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -1960,7 +1960,7 @@ again2: #ifdef X509_V3 /* Make it an X509 v3 certificate. */ - if (!X509_set_version(x509,2)) goto err; + if (!X509_set_version(ret,2)) goto err; #endif if (BN_to_ASN1_INTEGER(serial,ci->serialNumber) == NULL)