aboutsummaryrefslogtreecommitdiffstats
path: root/test/ct_test.c
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-08 17:38:41 +0000
committerRich Salz <rsalz@openssl.org>2016-03-09 11:34:48 -0500
commit5c081a8f748b9de3320fa9c242e43bd6282c89af (patch)
treeed374a6ab2ea76e9d9a5cfda0411047b8c2b1bce /test/ct_test.c
parent6d7fd9c14287c30271924d85f3dda22f8c1a6225 (diff)
downloadopenssl-5c081a8f748b9de3320fa9c242e43bd6282c89af.tar.gz
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>
Diffstat (limited to 'test/ct_test.c')
-rw-r--r--test/ct_test.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ct_test.c b/test/ct_test.c
index 2eaa620303..190a98fa02 100644
--- a/test/ct_test.c
+++ b/test/ct_test.c
@@ -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;