From d647f1fd545f82a1547d6cf6dd3588381e22263c Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 19 Mar 2022 18:19:24 +0000 Subject: Remove three useless tests files The asn1test depends on asn1_mac.h which had a date with the bitbucket a few years back (and the test "isn't meant to run particularly, it's just to test type checking"). methtest.c tests an API that was never present in OpenSSL's git history. r160test.c is nothing but a licence. "nuke away" jsing --- src/lib/libssl/test/asn1test.c | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 src/lib/libssl/test/asn1test.c (limited to 'src/lib/libssl/test/asn1test.c') diff --git a/src/lib/libssl/test/asn1test.c b/src/lib/libssl/test/asn1test.c deleted file mode 100755 index 6e6f91f81b..0000000000 --- a/src/lib/libssl/test/asn1test.c +++ /dev/null @@ -1,23 +0,0 @@ -/* $OpenBSD: asn1test.c,v 1.2 2014/06/12 15:49:31 deraadt Exp $ */ -#include -#include - -typedef struct X - { - STACK_OF(X509_EXTENSION) *ext; - } X; - -/* This isn't meant to run particularly, it's just to test type checking */ -int main(int argc, char **argv) - { - X *x = NULL; - unsigned char **pp = NULL; - - M_ASN1_I2D_vars(x); - M_ASN1_I2D_len_SEQUENCE_opt_type(X509_EXTENSION, x->ext, - i2d_X509_EXTENSION); - M_ASN1_I2D_seq_total(); - M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext, - i2d_X509_EXTENSION); - M_ASN1_I2D_finish(); - } -- cgit v1.2.3-55-g6feb