diff options
author | Fabio Fiorina <fiorinaf@gnutls.org> | 2002-04-10 20:25:42 +0000 |
---|---|---|
committer | Fabio Fiorina <fiorinaf@gnutls.org> | 2002-04-10 20:25:42 +0000 |
commit | 3d9221565c51fe3006546fb14e0738cbb011e24c (patch) | |
tree | 555c9def95ca21df4bdfa331cd25c5aa1cf43071 /src | |
parent | 8d63452a0d10b9e618d27c2ab640fc3ce07a9822 (diff) | |
download | libtasn1-3d9221565c51fe3006546fb14e0738cbb011e24c.tar.gz libtasn1-3d9221565c51fe3006546fb14e0738cbb011e24c.tar.bz2 libtasn1-3d9221565c51fe3006546fb14e0738cbb011e24c.zip |
warning fix
Diffstat (limited to 'src')
-rw-r--r-- | src/CertificateExample.c | 8 | ||||
-rw-r--r-- | src/CrlExample.c | 8 | ||||
-rw-r--r-- | src/asn1c.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/CertificateExample.c b/src/CertificateExample.c index 516db82..404b182 100644 --- a/src/CertificateExample.c +++ b/src/CertificateExample.c @@ -467,15 +467,15 @@ main(int argc,char *argv[]) if(result==ASN_FILE_NOT_FOUND){ printf("FILE NOT FOUND\n"); - return; + return 1; } else if(result==ASN_SYNTAX_ERROR){ printf("PARSE ERROR\n"); - return; + return 1; } else if(result==ASN_IDENTIFIER_NOT_FOUND){ printf("IDENTIFIER NOT FOUND\n"); - return; + return 1; } @@ -492,7 +492,7 @@ main(int argc,char *argv[]) /* Clear the "PKIX1Implicit88" structures */ asn1_delete_structure(PKIX1Implicit88); - return; + return 1; } diff --git a/src/CrlExample.c b/src/CrlExample.c index c2a4635..cbb6156 100644 --- a/src/CrlExample.c +++ b/src/CrlExample.c @@ -385,15 +385,15 @@ main(int argc,char *argv[]) if(result==ASN_FILE_NOT_FOUND){ printf("FILE NOT FOUND\n"); - return; + return 1; } else if(result==ASN_SYNTAX_ERROR){ printf("PARSE ERROR\n"); - return; + return 1; } else if(result==ASN_IDENTIFIER_NOT_FOUND){ printf("IDENTIFIER NOT FOUND\n"); - return; + return 1; } @@ -410,7 +410,7 @@ main(int argc,char *argv[]) /* Clear the "PKIX1Implicit88" structures */ asn1_delete_structure(PKIX1Implicit88); - return; + return 0; } diff --git a/src/asn1c.c b/src/asn1c.c index b398305..27e3d5e 100644 --- a/src/asn1c.c +++ b/src/asn1c.c @@ -48,18 +48,18 @@ main(int argc,char *argv[]) if(result==ASN_SYNTAX_ERROR){ printf("PARSE ERROR\n"); - return; + return 1; } else if(result==ASN_IDENTIFIER_NOT_FOUND){ printf("IDENTIFIER NOT FOUND\n"); - return; + return 1; } else if(result==ASN_FILE_NOT_FOUND){ printf("FILE NOT FOUND\n"); - return; + return 1; } - return; + return 0; } |