Remove unnecessary call to SCT_set1_extensions(sct, "", 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
6d7fd9c142
commit
5c081a8f74
1 changed files with 0 additions and 4 deletions
|
@ -545,10 +545,6 @@ static int test_encode_tls_sct()
|
|||
return 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)) {
|
||||
fprintf(stderr, "Failed to set SCT signature NID\n");
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue