diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-20 17:51:20 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-20 17:51:23 +0200 |
commit | 7ae73db8bd74f0232580830f28f30710b6c163f7 (patch) | |
tree | c4106f6c30d3cb8ea04c617b5e70c905effd5b3f /src/common.h | |
parent | ed02ed05035ea5f266fbdaac487bc334aa4ca4f7 (diff) | |
download | gnutls-7ae73db8bd74f0232580830f28f30710b6c163f7.tar.gz |
gnutls-cli: when no certificate is sent, notify the user
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index a4076b2a75..4024d5455e 100644 --- a/src/common.h +++ b/src/common.h @@ -52,7 +52,9 @@ extern const char str_unknown[]; -int print_info(gnutls_session_t state, int verbose, int print_cert); +#define P_PRINT_CERT 1 +#define P_WAIT_FOR_CERT (1<<1) +int print_info(gnutls_session_t state, int verbose, int flags); void print_cert_info(gnutls_session_t, int flag, int print_cert); void print_cert_info_compact(gnutls_session_t session); |