Revision 7078d93307d795cec577ec4a792b72fffed551ab authored by Andy Polyakov on 13 February 2014, 13:36:02 UTC, committed by Andy Polyakov on 13 February 2014, 13:38:59 UTC
(other processors unaffected). (cherry picked from commit 98e143f118aedc2fa79fa0ae90f1b039da106309)
1 parent a2317c3
asn1test.c
#include <openssl/x509.h>
#include <openssl/asn1_mac.h>
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();
}

Computing file changes ...