diff options
author | Fabio Fiorina <fiorinaf@gnutls.org> | 2002-10-07 19:34:30 +0000 |
---|---|---|
committer | Fabio Fiorina <fiorinaf@gnutls.org> | 2002-10-07 19:34:30 +0000 |
commit | 22980812f7038378127cc9e8b3a3d70c0699e109 (patch) | |
tree | 6ecbf0d8ac659da36e2500fd226c5ded5d663f17 /src | |
parent | 56db6def01a8d8c5a195453cd1efb05641e70a14 (diff) | |
download | libtasn1-22980812f7038378127cc9e8b3a3d70c0699e109.tar.gz libtasn1-22980812f7038378127cc9e8b3a3d70c0699e109.tar.bz2 libtasn1-22980812f7038378127cc9e8b3a3d70c0699e109.zip |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/CertificateExample.c | 2 | ||||
-rw-r--r-- | src/CrlExample.c | 2 | ||||
-rw-r--r-- | src/asn1Coding.c | 6 | ||||
-rw-r--r-- | src/asn1Decoding.c | 6 | ||||
-rw-r--r-- | src/asn1Parser.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/CertificateExample.c b/src/CertificateExample.c index 5996858..549804a 100644 --- a/src/CertificateExample.c +++ b/src/CertificateExample.c @@ -498,7 +498,7 @@ main(int argc,char *argv[]) result=asn1_parser2tree("pkix.asn",&PKIX1Implicit88,errorDescription); if(result != ASN1_SUCCESS){ - libasn1_perror(result); + libtasn1_perror(result); printf("%s",errorDescription); exit(1); } diff --git a/src/CrlExample.c b/src/CrlExample.c index e652c5d..b88abb0 100644 --- a/src/CrlExample.c +++ b/src/CrlExample.c @@ -420,7 +420,7 @@ main(int argc,char *argv[]) result=asn1_parser2tree("pkix.asn",&PKIX1Implicit88,errorDescription); if(result != ASN1_SUCCESS){ - libasn1_perror(result); + libtasn1_perror(result); printf("%s\n",errorDescription); exit(1); } diff --git a/src/asn1Coding.c b/src/asn1Coding.c index 65785d7..5d5f13d 100644 --- a/src/asn1Coding.c +++ b/src/asn1Coding.c @@ -235,7 +235,7 @@ main(int argc,char *argv[]) printf("asn1Coding: %s\n",errorDescription); break; default: - printf("libasn1 ERROR: %s\n",libasn1_strerror(asn1_result)); + printf("libasn1 ERROR: %s\n",libtasn1_strerror(asn1_result)); } if(asn1_result != ASN1_SUCCESS){ @@ -267,7 +267,7 @@ main(int argc,char *argv[]) asn1_result=asn1_write_value(structure,varName,value,0); if(asn1_result != ASN1_SUCCESS){ - printf("libasn1 ERROR: %s\n",libasn1_strerror(asn1_result)); + printf("libasn1 ERROR: %s\n",libtasn1_strerror(asn1_result)); asn1_delete_structure(&definitions); asn1_delete_structure(&structure); @@ -286,7 +286,7 @@ main(int argc,char *argv[]) asn1_result=asn1_der_coding(structure,structureName,der,&der_len, errorDescription); - printf("\nCoding: %s\n\n",libasn1_strerror(asn1_result)); + printf("\nCoding: %s\n\n",libtasn1_strerror(asn1_result)); if(asn1_result!=ASN1_SUCCESS){ printf("asn1Coding: %s\n",errorDescription); diff --git a/src/asn1Decoding.c b/src/asn1Decoding.c index 0445027..928cdfb 100644 --- a/src/asn1Decoding.c +++ b/src/asn1Decoding.c @@ -178,7 +178,7 @@ main(int argc,char *argv[]) printf("asn1Decoding: %s\n",errorDescription); break; default: - printf("libasn1 ERROR: %s\n",libasn1_strerror(asn1_result)); + printf("libasn1 ERROR: %s\n",libtasn1_strerror(asn1_result)); } if(asn1_result != ASN1_SUCCESS){ @@ -220,7 +220,7 @@ main(int argc,char *argv[]) asn1_result=asn1_create_element(definitions,typeName,&structure,varName); if(asn1_result != ASN1_SUCCESS){ - printf("Structure creation: %s\n",libasn1_strerror(asn1_result)); + printf("Structure creation: %s\n",libtasn1_strerror(asn1_result)); asn1_delete_structure(&definitions); free(inputFileAsnName); @@ -231,7 +231,7 @@ main(int argc,char *argv[]) } asn1_result=asn1_der_decoding(&structure,der,der_len,errorDescription); - printf("\nDecoding: %s\n",libasn1_strerror(asn1_result)); + printf("\nDecoding: %s\n",libtasn1_strerror(asn1_result)); if(asn1_result != ASN1_SUCCESS) printf("asn1Decoding: %s\n",errorDescription); diff --git a/src/asn1Parser.c b/src/asn1Parser.c index 3083578..52f08bf 100644 --- a/src/asn1Parser.c +++ b/src/asn1Parser.c @@ -187,7 +187,7 @@ main(int argc,char *argv[]) printf("asn1Parser: %s\n",errorDescription);
break;
default:
- printf("libasn1 ERROR: %s\n",libasn1_strerror(parse_result));
+ printf("libasn1 ERROR: %s\n",libtasn1_strerror(parse_result));
}
|