mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-21 15:56:24 +08:00
SKF Wrapper
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
#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();
|
||||
}
|
||||
1
test/asn1test.c
Symbolic link
1
test/asn1test.c
Symbolic link
@@ -0,0 +1 @@
|
||||
dummytest.c
|
||||
Reference in New Issue
Block a user