summaryrefslogtreecommitdiffstats
path: root/test/ct_test.c
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-07 18:41:43 +0000
committerRich Salz <rsalz@openssl.org>2016-03-09 11:34:48 -0500
commit9c812014c84c10419f39183e9aa7dd57b29edbcc (patch)
tree916d9fa4a791bc4bfd93ca852534dbf8249fa781 /test/ct_test.c
parent70279a81a79f546fb5d86fd710d87f4cf55e8bf8 (diff)
Use SCT_VERSION_V1 in place of literal 0 in ct_test.c
Reviewed-by: Emilia Käsper <emilia@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/ct_test.c')
-rw-r--r--test/ct_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ct_test.c b/test/ct_test.c
index d5eb5ecbe0..2eaa620303 100644
--- a/test/ct_test.c
+++ b/test/ct_test.c
@@ -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;
}