Add 'flags' parameter to EVP_PKEY_asn1_meth_new() to set algorithm flags.
[openssl.git] / crypto / asn1 / a_gentm.c
index def79062a57de3d0397eb0732a3fe2879eda7932..4114f7e31ac565eebd383a2a95494075757eb105 100644 (file)
@@ -176,6 +176,11 @@ int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *d)
                        o++;
                        }
                }
+       else
+               {
+               /* Missing time zone information. */
+               goto err;
+               }
        return(o == l);
 err:
        return(0);