summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-04-28 22:56:08 +0300
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-04-28 22:56:08 +0300
commita0e582d0c183dfad274a82c02a54bb5317a987a4 (patch)
tree1b5be167f5fdc2ec49d8b609cfa0af755ce81dca /src/common.h
parent03c4de6e90a7f3dab2fa3dc7485c3c02bf78446d (diff)
downloadgnutls-a0e582d0c183dfad274a82c02a54bb5317a987a4.tar.gz
gnutls-cli will exit once a certificate that doesn't have the
correct name is found.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index d22d995c13..89d22ce944 100644
--- a/src/common.h
+++ b/src/common.h
@@ -23,8 +23,8 @@
extern const char str_unknown[];
-int print_info (gnutls_session_t state, const char *hostname);
-void print_cert_info (gnutls_session_t state, const char *hostname);
+int print_info (gnutls_session_t state, const char *hostname, int insecure);
+void print_cert_info (gnutls_session_t state, const char *hostname, int insecure);
void print_list (int verbose);
void parse_comp (char **comp, int ncomp, int *comp_priority);