summaryrefslogtreecommitdiff
path: root/examples
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 /examples
parentc6bfd2290968151bb1ea14127aacee416b687cbb (diff)
downloadlibtasn1-afb06abaef8b60bfb10347281c9ea8ea1ca20b25.tar.gz
libtasn1-afb06abaef8b60bfb10347281c9ea8ea1ca20b25.tar.bz2
libtasn1-afb06abaef8b60bfb10347281c9ea8ea1ca20b25.zip
Don't use now obsolete functions.
Diffstat (limited to 'examples')
-rw-r--r--examples/CertificateExample.c2
-rw-r--r--examples/CrlExample.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/CertificateExample.c b/examples/CertificateExample.c
index a00511b..39ce703 100644
--- a/examples/CertificateExample.c
+++ b/examples/CertificateExample.c
@@ -503,7 +503,7 @@ main(int argc,char *argv[])
result=asn1_parser2tree("pkix.asn",&PKIX1Implicit88,errorDescription);
if(result != ASN1_SUCCESS){
- libtasn1_perror(result);
+ asn1_perror(result);
printf("%s",errorDescription);
exit(1);
}
diff --git a/examples/CrlExample.c b/examples/CrlExample.c
index 332d84d..d34c0d8 100644
--- a/examples/CrlExample.c
+++ b/examples/CrlExample.c
@@ -422,7 +422,7 @@ main(int argc,char *argv[])
result=asn1_parser2tree("pkix.asn",&PKIX1Implicit88,errorDescription);
if(result != ASN1_SUCCESS){
- libtasn1_perror(result);
+ asn1_perror(result);
printf("%s\n",errorDescription);
exit(1);
}