Correct bracketing error.
authorBen Laurie <ben@openssl.org>
Thu, 21 Jan 1999 11:46:01 +0000 (11:46 +0000)
committerBen Laurie <ben@openssl.org>
Thu, 21 Jan 1999 11:46:01 +0000 (11:46 +0000)
crypto/asn1/x_crl.c

index 8629a73f8c48b9d8caf72ec56d83a67199e08af3..1dd651b3ec13b1d0191f8ffd371c51e8f5f6c4b6 100644 (file)
@@ -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)