summaryrefslogtreecommitdiff
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
parentb79c2a0e5f74f58d7c195929c8d8db0d7c3fe6c9 (diff)
downloadgnutls-f1d80810d78513bd9889e8671c8fd731fec74169.tar.gz
*** empty log message ***
-rw-r--r--lib/gnutls_ui.h4
-rw-r--r--src/certtool.c4
-rw-r--r--src/common.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/gnutls_ui.h b/lib/gnutls_ui.h
index 7db05a4b24..34e029e2a4 100644
--- a/lib/gnutls_ui.h
+++ b/lib/gnutls_ui.h
@@ -30,14 +30,14 @@ typedef struct gnutls_retr_st {
gnutls_x509_crt *x509;
gnutls_openpgp_key pgp;
} cert;
- uint ncerts; /* one for pgp keys */
+ unsigned int ncerts; /* one for pgp keys */
union key {
gnutls_x509_privkey x509;
gnutls_openpgp_privkey pgp;
} key;
- uint deinit_all; /* if non zero all keys will be deinited */
+ unsigned int deinit_all; /* if non zero all keys will be deinited */
} gnutls_retr_st;
typedef int gnutls_certificate_client_retrieve_function(gnutls_session,
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 =