Introduce ASN1_TIME_set_string_X509 API
[oweals/openssl.git] / test / time_offset_test.c
index 7b4bec92c560bdb17e8f3178917a187272748a0d..6660aee5dcbc761245846b8f180c5fc641dbe496 100644 (file)
@@ -74,6 +74,7 @@ static int test_offset(int idx)
     at.data = (unsigned char*)testdata->data;
     at.length = strlen(testdata->data);
     at.type = testdata->type;
+    at.flags = 0;
 
     if (!TEST_true(ASN1_TIME_diff(&day, &sec, &the_asn1_time, &at))) {
         TEST_info("ASN1_TIME_diff() failed for %s\n", at.data);