diff options
author | Mike DePaulo <mikedep333@gmail.com> | 2015-03-28 09:50:31 -0400 |
---|---|---|
committer | Mike DePaulo <mikedep333@gmail.com> | 2015-03-28 13:13:13 -0400 |
commit | 91e3957fb0e38a5d5649f82e5d9f89dd0e85666f (patch) | |
tree | fe0992fb4cf6f3c2a5d597557552ae69caccbe70 /openssl/test/asn1test.c | |
parent | 9073d97eff3f6d3b33450ef3532a826674c7e1e8 (diff) | |
download | vcxsrv-91e3957fb0e38a5d5649f82e5d9f89dd0e85666f.tar.gz vcxsrv-91e3957fb0e38a5d5649f82e5d9f89dd0e85666f.tar.bz2 vcxsrv-91e3957fb0e38a5d5649f82e5d9f89dd0e85666f.zip |
Update openssl to version openssl-1.0.1m
Conflicts:
openssl/Makefile
openssl/Makefile.bak
openssl/crypto/cryptlib.c
Diffstat (limited to 'openssl/test/asn1test.c')
-rw-r--r-- | openssl/test/asn1test.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/openssl/test/asn1test.c b/openssl/test/asn1test.c index 9f53d8034..4782f300c 100644 --- a/openssl/test/asn1test.c +++ b/openssl/test/asn1test.c @@ -1,22 +1,21 @@ #include <openssl/x509.h> #include <openssl/asn1_mac.h> -typedef struct X - { +typedef struct X { STACK_OF(X509_EXTENSION) *ext; - } X; +} 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); + i2d_X509_EXTENSION); M_ASN1_I2D_seq_total(); M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext, - i2d_X509_EXTENSION); + i2d_X509_EXTENSION); M_ASN1_I2D_finish(); - } +} |