提交 9c812014 编写于 作者: R Rob Percival 提交者: Rich Salz

Use SCT_VERSION_V1 in place of literal 0 in ct_test.c

Reviewed-by: NEmilia Käsper <emilia@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 70279a81
...@@ -534,7 +534,7 @@ static int test_encode_tls_sct() ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册