mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-30 11:44:37 +00:00
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
@ -534,7 +534,7 @@ static int test_encode_tls_sct()
|
|||||||
SETUP_CT_TEST_FIXTURE();
|
SETUP_CT_TEST_FIXTURE();
|
||||||
|
|
||||||
SCT *sct = SCT_new();
|
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");
|
fprintf(stderr, "Failed to set SCT version\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user