summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-07 12:26:19 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-07 12:26:19 +0100
commitafb06abaef8b60bfb10347281c9ea8ea1ca20b25 (patch)
tree5ff5b026dead8153ee3f1bebbb1817507e89a958 /src
parentc6bfd2290968151bb1ea14127aacee416b687cbb (diff)
downloadlibtasn1-afb06abaef8b60bfb10347281c9ea8ea1ca20b25.tar.gz
libtasn1-afb06abaef8b60bfb10347281c9ea8ea1ca20b25.tar.bz2
libtasn1-afb06abaef8b60bfb10347281c9ea8ea1ca20b25.zip
Don't use now obsolete functions.
Diffstat (limited to 'src')
-rw-r--r--src/asn1Coding.c6
-rw-r--r--src/asn1Decoding.c6
-rw-r--r--src/asn1Parser.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/asn1Coding.c b/src/asn1Coding.c
index 4cb763f..86b7fa3 100644
--- a/src/asn1Coding.c
+++ b/src/asn1Coding.c
@@ -216,7 +216,7 @@ main(int argc,char *argv[])
printf("asn1Coding: %s\n",errorDescription);
break;
default:
- printf("libtasn1 ERROR: %s\n",libtasn1_strerror(asn1_result));
+ printf("libtasn1 ERROR: %s\n",asn1_strerror(asn1_result));
}
if(asn1_result != ASN1_SUCCESS){
@@ -247,7 +247,7 @@ main(int argc,char *argv[])
asn1_result=asn1_write_value(structure,varName,value,0);
if(asn1_result != ASN1_SUCCESS){
- printf("libtasn1 ERROR: %s\n",libtasn1_strerror(asn1_result));
+ printf("libtasn1 ERROR: %s\n",asn1_strerror(asn1_result));
asn1_delete_structure(&definitions);
asn1_delete_structure(&structure);
@@ -273,7 +273,7 @@ main(int argc,char *argv[])
asn1_result=asn1_der_coding(structure,"",der,&der_len,
errorDescription);
}
- printf("\nCoding: %s\n\n",libtasn1_strerror(asn1_result));
+ printf("\nCoding: %s\n\n",asn1_strerror(asn1_result));
if(asn1_result!=ASN1_SUCCESS){
printf("asn1Coding: %s\n",errorDescription);
diff --git a/src/asn1Decoding.c b/src/asn1Decoding.c
index e6ee47f..dac8eb6 100644
--- a/src/asn1Decoding.c
+++ b/src/asn1Decoding.c
@@ -161,7 +161,7 @@ main(int argc,char *argv[])
printf("asn1Decoding: %s\n",errorDescription);
break;
default:
- printf("libtasn1 ERROR: %s\n",libtasn1_strerror(asn1_result));
+ printf("libtasn1 ERROR: %s\n",asn1_strerror(asn1_result));
}
if(asn1_result != ASN1_SUCCESS){
@@ -210,7 +210,7 @@ main(int argc,char *argv[])
if(asn1_result != ASN1_SUCCESS){
- printf("Structure creation: %s\n",libtasn1_strerror(asn1_result));
+ printf("Structure creation: %s\n",asn1_strerror(asn1_result));
asn1_delete_structure(&definitions);
free(inputFileAsnName);
@@ -221,7 +221,7 @@ main(int argc,char *argv[])
}
asn1_result=asn1_der_decoding(&structure,der,der_len,errorDescription);
- printf("\nDecoding: %s\n",libtasn1_strerror(asn1_result));
+ printf("\nDecoding: %s\n",asn1_strerror(asn1_result));
if(asn1_result != ASN1_SUCCESS)
printf("asn1Decoding: %s\n",errorDescription);
diff --git a/src/asn1Parser.c b/src/asn1Parser.c
index b591f79..f667d8c 100644
--- a/src/asn1Parser.c
+++ b/src/asn1Parser.c
@@ -168,7 +168,7 @@ main(int argc,char *argv[])
printf("asn1Parser: %s\n",errorDescription);
break;
default:
- printf("libtasn1 ERROR: %s\n",libtasn1_strerror(parse_result));
+ printf("libtasn1 ERROR: %s\n",asn1_strerror(parse_result));
}