From: Ben Laurie Date: Thu, 21 Jan 1999 11:46:01 +0000 (+0000) Subject: Correct bracketing error. X-Git-Tag: OpenSSL_0_9_2b~238 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1bbd21eec5c16f9f04a7899c0b756c6112e5fce2;p=oweals%2Fopenssl.git Correct bracketing error. --- diff --git a/crypto/asn1/x_crl.c b/crypto/asn1/x_crl.c index 8629a73f8c..1dd651b3ec 100644 --- a/crypto/asn1/x_crl.c +++ b/crypto/asn1/x_crl.c @@ -179,11 +179,11 @@ long length; M_ASN1_D2I_get(ret->issuer,d2i_X509_NAME); M_ASN1_D2I_get(ret->lastUpdate,d2i_ASN1_TIME); /* Manually handle the OPTIONAL ASN1_TIME stuff */ - if((c.slen != 0) && - ( ( (M_ASN1_next & ~V_ASN1_CONSTRUCTED) == - V_ASN1_UNIVERSAL|V_ASN1_UTCTIME) - || ( ( (M_ASN1_next & ~V_ASN1_CONSTRUCTED) == - V_ASN1_UNIVERSAL|V_ASN1_GENERALIZEDTIME) ) ) ) { + if(c.slen != 0 + && ( (M_ASN1_next & ~V_ASN1_CONSTRUCTED) == + (V_ASN1_UNIVERSAL|V_ASN1_UTCTIME) + || (M_ASN1_next & ~V_ASN1_CONSTRUCTED) == + (V_ASN1_UNIVERSAL|V_ASN1_GENERALIZEDTIME) ) ) { M_ASN1_D2I_get(ret->nextUpdate,d2i_ASN1_TIME); } if(!ret->nextUpdate)