Use SCT_VERSION_V1 in place of literal 0 in ct_test.c
authorRob Percival <robpercival@google.com>
Mon, 7 Mar 2016 18:41:43 +0000 (18:41 +0000)
committerRich Salz <rsalz@openssl.org>
Wed, 9 Mar 2016 16:34:48 +0000 (11:34 -0500)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/ct_test.c

index d5eb5ec..2eaa620 100644 (file)
@@ -534,7 +534,7 @@ static int test_encode_tls_sct()
     SETUP_CT_TEST_FIXTURE();
 
     SCT *sct = SCT_new();
-    if (!SCT_set_version(sct, 0)) {
+    if (!SCT_set_version(sct, SCT_VERSION_V1)) {
         fprintf(stderr, "Failed to set SCT version\n");
         return 1;
     }