diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-11-04 11:58:27 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-11-04 11:58:27 +0100 |
commit | eb82be7aecd4cde5afe23192403e0b29be6ca54f (patch) | |
tree | e3cda0f2e2ec6fde1ea5ce9084eed2d1ed987862 /examples | |
parent | d6534ac73ed2cb8007314ea9e4117cb0283ae7a9 (diff) | |
download | libtasn1-eb82be7aecd4cde5afe23192403e0b29be6ca54f.tar.gz libtasn1-eb82be7aecd4cde5afe23192403e0b29be6ca54f.tar.bz2 libtasn1-eb82be7aecd4cde5afe23192403e0b29be6ca54f.zip |
Move struct node_asn_struct to int.h.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CertificateExample.c | 6 | ||||
-rw-r--r-- | examples/CrlExample.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/CertificateExample.c b/examples/CertificateExample.c index 7debe73..a00511b 100644 --- a/examples/CertificateExample.c +++ b/examples/CertificateExample.c @@ -68,7 +68,7 @@ my_ltostr(long v,char *str) /* "C=US O=gov" */ /******************************************************/ static void -get_Name_type(node_asn *cert_def,node_asn *cert,char *root, char *answer) +get_Name_type(ASN1_TYPE cert_def,ASN1_TYPE cert,char *root, char *answer) { int k,k2,result,len; char name[128],str[1024],str2[1024],name2[128],counter[5],name3[128]; @@ -178,7 +178,7 @@ get_Name_type(node_asn *cert_def,node_asn *cert,char *root, char *answer) /* int *der_len: number of bytes of der string */ /******************************************************/ static void -create_certificate(node_asn *cert_def,unsigned char *der,int *der_len) +create_certificate(ASN1_TYPE cert_def,unsigned char *der,int *der_len) { int result,k,len; unsigned char str[1024],*str2; @@ -425,7 +425,7 @@ create_certificate(node_asn *cert_def,unsigned char *der,int *der_len) /* int der_len: number of bytes of der string */ /******************************************************/ static void -get_certificate(node_asn *cert_def,unsigned char *der,int der_len) +get_certificate(ASN1_TYPE cert_def,unsigned char *der,int der_len) { int result,len,start,end; unsigned char str[1024],str2[1024]; diff --git a/examples/CrlExample.c b/examples/CrlExample.c index 725d5c3..332d84d 100644 --- a/examples/CrlExample.c +++ b/examples/CrlExample.c @@ -70,7 +70,7 @@ my_ltostr(long v,char *str) /* "C=US O=gov" */ /******************************************************/ static void -get_Name_type(node_asn *cert_def,node_asn *cert,char *root, char *answer) +get_Name_type(ASN1_TYPE cert_def,ASN1_TYPE cert,char *root, char *answer) { int k,k2,result,len; char name[128],str[1024],str2[1024],name2[128],counter[5],name3[128]; @@ -188,7 +188,7 @@ get_Name_type(node_asn *cert_def,node_asn *cert,char *root, char *answer) /* int *der_len: number of bytes of der string */ /******************************************************/ static void -create_CRL(node_asn *cert_def, unsigned char *der,int *der_len) +create_CRL(ASN1_TYPE cert_def, unsigned char *der,int *der_len) { int result,k,len; unsigned char str[1024],*str2; @@ -349,7 +349,7 @@ create_CRL(node_asn *cert_def, unsigned char *der,int *der_len) /* int der_len: number of bytes of der string */ /******************************************************/ static void -get_CRL(node_asn *cert_def,unsigned char *der,int der_len) +get_CRL(ASN1_TYPE cert_def,unsigned char *der,int der_len) { int result,len,start,end; unsigned char str[1024],str2[1024]; |