summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test/asn1test.c
diff options
context:
space:
mode:
authortb <>2022-03-19 18:19:24 +0000
committertb <>2022-03-19 18:19:24 +0000
commitd647f1fd545f82a1547d6cf6dd3588381e22263c (patch)
tree9032aa57502c13a51779815c0a256e5c4a78d65e /src/lib/libssl/test/asn1test.c
parentd46a632ca35d3f62b29f97c14868a75a30a0ea74 (diff)
downloadopenbsd-d647f1fd545f82a1547d6cf6dd3588381e22263c.tar.gz
openbsd-d647f1fd545f82a1547d6cf6dd3588381e22263c.tar.bz2
openbsd-d647f1fd545f82a1547d6cf6dd3588381e22263c.zip
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
Diffstat (limited to 'src/lib/libssl/test/asn1test.c')
-rwxr-xr-xsrc/lib/libssl/test/asn1test.c23
1 files changed, 0 insertions, 23 deletions
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 @@
1/* $OpenBSD: asn1test.c,v 1.2 2014/06/12 15:49:31 deraadt Exp $ */
2#include <openssl/x509.h>
3#include <openssl/asn1_mac.h>
4
5typedef struct X
6 {
7 STACK_OF(X509_EXTENSION) *ext;
8 } X;
9
10/* This isn't meant to run particularly, it's just to test type checking */
11int main(int argc, char **argv)
12 {
13 X *x = NULL;
14 unsigned char **pp = NULL;
15
16 M_ASN1_I2D_vars(x);
17 M_ASN1_I2D_len_SEQUENCE_opt_type(X509_EXTENSION, x->ext,
18 i2d_X509_EXTENSION);
19 M_ASN1_I2D_seq_total();
20 M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext,
21 i2d_X509_EXTENSION);
22 M_ASN1_I2D_finish();
23 }