diff options
| author | cvs2svn <admin@example.com> | 2015-08-02 21:54:23 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2015-08-02 21:54:23 +0000 |
| commit | 67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a (patch) | |
| tree | 5609c82060f75c53af0a7641d9b33a88574876cd /src/lib/libssl/test/asn1test.c | |
| parent | ed40f444ba01bcae1d8540f9c26d79537ab5baf2 (diff) | |
| download | openbsd-libressl-v2.2.2.tar.gz openbsd-libressl-v2.2.2.tar.bz2 openbsd-libressl-v2.2.2.zip | |
This commit was manufactured by cvs2git to create branch 'OPENBSD_5_8'.libressl-v2.2.2
Diffstat (limited to '')
| -rwxr-xr-x | src/lib/libssl/test/asn1test.c | 23 |
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 | |||
| 5 | typedef 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 */ | ||
| 11 | int 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 | } | ||
