diff options
| author | cvs2svn <admin@example.com> | 2011-02-12 15:54:19 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2011-02-12 15:54:19 +0000 |
| commit | f01f837ce3a9db0dbe6799caba130b35c63a5c32 (patch) | |
| tree | 26cf8fda7724fe56961aa26b7da50db9634c08a2 /src/lib/libssl/test/asn1test.c | |
| parent | 6ed6984480044de43dd93380f4475033ba8cd945 (diff) | |
| download | openbsd-OPENBSD_4_9_BASE.tar.gz openbsd-OPENBSD_4_9_BASE.tar.bz2 openbsd-OPENBSD_4_9_BASE.zip | |
This commit was manufactured by cvs2git to create tag 'OPENBSD_4_9_BASE'.OPENBSD_4_9_BASE
Diffstat (limited to 'src/lib/libssl/test/asn1test.c')
| -rwxr-xr-x | src/lib/libssl/test/asn1test.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/libssl/test/asn1test.c b/src/lib/libssl/test/asn1test.c deleted file mode 100755 index 9f53d80344..0000000000 --- a/src/lib/libssl/test/asn1test.c +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | #include <openssl/x509.h> | ||
| 2 | #include <openssl/asn1_mac.h> | ||
| 3 | |||
| 4 | typedef struct X | ||
| 5 | { | ||
| 6 | STACK_OF(X509_EXTENSION) *ext; | ||
| 7 | } X; | ||
| 8 | |||
| 9 | /* This isn't meant to run particularly, it's just to test type checking */ | ||
| 10 | int main(int argc, char **argv) | ||
| 11 | { | ||
| 12 | X *x = NULL; | ||
| 13 | unsigned char **pp = NULL; | ||
| 14 | |||
| 15 | M_ASN1_I2D_vars(x); | ||
| 16 | M_ASN1_I2D_len_SEQUENCE_opt_type(X509_EXTENSION, x->ext, | ||
| 17 | i2d_X509_EXTENSION); | ||
| 18 | M_ASN1_I2D_seq_total(); | ||
| 19 | M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext, | ||
| 20 | i2d_X509_EXTENSION); | ||
| 21 | M_ASN1_I2D_finish(); | ||
| 22 | } | ||
