提交 5c081a8f 编写于 作者: R Rob Percival 提交者: Rich Salz

Remove unnecessary call to SCT_set1_extensions(sct, "", 0) in ct_test.c

Reviewed-by: NEmilia Käsper <emilia@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 6d7fd9c1
...@@ -545,10 +545,6 @@ static int test_encode_tls_sct() ...@@ -545,10 +545,6 @@ static int test_encode_tls_sct()
return 1; return 1;
} }
SCT_set_timestamp(sct, 1); SCT_set_timestamp(sct, 1);
if (!SCT_set1_extensions(sct, (unsigned char *)"", 0)) {
fprintf(stderr, "Failed to set SCT extensions\n");
return 1;
}
if (!SCT_set_signature_nid(sct, NID_ecdsa_with_SHA256)) { if (!SCT_set_signature_nid(sct, NID_ecdsa_with_SHA256)) {
fprintf(stderr, "Failed to set SCT signature NID\n"); fprintf(stderr, "Failed to set SCT signature NID\n");
return 1; return 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册