summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-30 11:16:09 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-30 11:16:09 +0000
commitf1d80810d78513bd9889e8671c8fd731fec74169 (patch)
tree9f44d925261925c3a6518cb5f32acd3206cfb0ab /src
parentb79c2a0e5f74f58d7c195929c8d8db0d7c3fe6c9 (diff)
downloadgnutls-f1d80810d78513bd9889e8671c8fd731fec74169.tar.gz
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/certtool.c4
-rw-r--r--src/common.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/certtool.c b/src/certtool.c
index 65d264ec19..f45cf2fea7 100644
--- a/src/certtool.c
+++ b/src/certtool.c
@@ -1859,7 +1859,7 @@ time_t now = time(0);
exit(1);
}
- if (output&GNUTLS_CERT_NOT_TRUSTED) {
+ if (output&GNUTLS_CERT_INVALID) {
fprintf(outfile, "Not verified");
comma = 1;
} else {
@@ -1956,7 +1956,7 @@ gnutls_x509_crt issuer;
exit(1);
}
- if (output&GNUTLS_CERT_NOT_TRUSTED) {
+ if (output&GNUTLS_CERT_INVALID) {
fprintf(outfile, "Not verified");
comma = 1;
} else {
diff --git a/src/common.c b/src/common.c
index 839289fdc9..383109833a 100644
--- a/src/common.c
+++ b/src/common.c
@@ -62,7 +62,7 @@ void print_x509_info(gnutls_session session, const char* hostname)
printf(" - Got a certificate list of %d certificates.\n\n",
cert_list_size);
- for (j = 0; j < (uint)cert_list_size; j++) {
+ for (j = 0; j < (unsigned int)cert_list_size; j++) {
gnutls_x509_crt_init(&crt);
ret =