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:
Rob Percival 2016-03-08 17:38:41 +00:00 committed by Rich Salz
parent 6d7fd9c142
commit 5c081a8f74

View file

@ -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;