diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-02 10:35:11 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-02 10:35:13 +0100 |
commit | 14e491f0d80bd4195b1bfe9f51a285d4eb0b62d1 (patch) | |
tree | 44e05441dd035c9cae9176da011f2cd7ff02ba4e | |
parent | 9e0ddfb5ef2acf4a70d0ece0f72fc474a63638fc (diff) | |
download | gnutls-14e491f0d80bd4195b1bfe9f51a285d4eb0b62d1.tar.gz |
gnutls-cli: no longer print certificate types or compression methods
We don't support any other compression methods than the null compression,
nor any other certificate types.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | src/common.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/common.c b/src/common.c index 4be0969af2..a29f558cb0 100644 --- a/src/common.c +++ b/src/common.c @@ -640,6 +640,7 @@ void print_list(const char *priorities, int verbose) } printf("\n"); +#if 0 { ret = gnutls_priority_certificate_type_list(pcache, @@ -658,6 +659,7 @@ void print_list(const char *priorities, int verbose) printf("\n"); } } +#endif { ret = gnutls_priority_protocol_list(pcache, &list); @@ -725,25 +727,6 @@ void print_list(const char *priorities, int verbose) { ret = - gnutls_priority_compression_list(pcache, - &list); - - printf("Compression: "); - if (ret == 0) - printf("none\n"); - for (i = 0; i < (unsigned) ret; i++) { - printf("COMP-%s", - gnutls_compression_get_name(list - [i])); - if (i + 1 != (unsigned) ret) - printf(", "); - else - printf("\n"); - } - } - - { - ret = gnutls_priority_group_list(pcache, &list); printf("Groups: "); |