Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / openssl / dist / test / asn1test.c
blob4782f300c07bbac0553ce0a28802946084593cc7
1 #include <openssl/x509.h>
2 #include <openssl/asn1_mac.h>
4 typedef struct X {
5 STACK_OF(X509_EXTENSION) *ext;
6 } X;
8 /* This isn't meant to run particularly, it's just to test type checking */
9 int main(int argc, char **argv)
11 X *x = NULL;
12 unsigned char **pp = NULL;
14 M_ASN1_I2D_vars(x);
15 M_ASN1_I2D_len_SEQUENCE_opt_type(X509_EXTENSION, x->ext,
16 i2d_X509_EXTENSION);
17 M_ASN1_I2D_seq_total();
18 M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext,
19 i2d_X509_EXTENSION);
20 M_ASN1_I2D_finish();