Remove unnecessary call to SCT_set1_extensions(sct, "", 0) in ct_test.c
authorRob Percival <robpercival@google.com>
Tue, 8 Mar 2016 17:38:41 +0000 (17:38 +0000)
committerRich Salz <rsalz@openssl.org>
Wed, 9 Mar 2016 16:34:48 +0000 (11:34 -0500)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/ct_test.c

index 2eaa620303456d5ea30d2afb41dade51ee894bb5..190a98fa02c3bbdfa692b91ec1a0903c9b4936e9 100644 (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;