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:
parent
70279a81a7
commit
9c812014c8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue