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>
This commit is contained in:
Rob Percival 2016-03-07 18:41:43 +00:00 committed by Rich Salz
parent 70279a81a7
commit 9c812014c8

View 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;
}