From: Richard Levitte Date: Thu, 3 Apr 2003 18:50:48 +0000 (+0000) Subject: Reset the version number of the issuer certificate? I believe this X-Git-Tag: OpenSSL_0_9_7b~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2bdcfbd7a3f5abfc0f0421787a001f077e724477;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 1d4e4aa7d3..7ed60c7a9a 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -2193,7 +2193,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)