From: Rob Percival Date: Tue, 8 Mar 2016 17:38:41 +0000 (+0000) Subject: Remove unnecessary call to SCT_set1_extensions(sct, "", 0) in ct_test.c X-Git-Tag: OpenSSL_1_1_0-pre4~139 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c081a8f748b9de3320fa9c242e43bd6282c89af;p=oweals%2Fopenssl.git Remove unnecessary call to SCT_set1_extensions(sct, "", 0) in ct_test.c Reviewed-by: Emilia Käsper Reviewed-by: Rich Salz --- 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;