From b2d0c85608ead3c86847509d2eb695ae10edb5fe Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 15 Aug 2017 10:29:42 +0200 Subject: doc: algorithms.texi: include list of groups but skip compression methods Compression methods are no longer relevant or supported, and groups replace the elliptic curves. Signed-off-by: Nikos Mavrogiannopoulos --- doc/printlist.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'doc/printlist.c') diff --git a/doc/printlist.c b/doc/printlist.c index a87f14c545..908c98d7a7 100644 --- a/doc/printlist.c +++ b/doc/printlist.c @@ -147,25 +147,12 @@ static void main_texinfo(void) } { - const gnutls_ecc_curve_t *p = gnutls_ecc_curve_list(); + const gnutls_group_t *p = gnutls_group_list(); - printf("\n@heading Elliptic curves\n@table @code\n"); + printf("\n@heading Groups\n@table @code\n"); for (; *p; p++) { printf("@item %s\n", - gnutls_ecc_curve_get_name(*p)); - } - printf("@end table\n"); - } - - - { - const gnutls_compression_method_t *p = - gnutls_compression_list(); - - printf("\n@heading Compression methods\n@table @code\n"); - for (; *p; p++) { - printf("@item %s\n", - gnutls_compression_get_name(*p)); + gnutls_group_get_name(*p)); } printf("@end table\n"); } -- cgit v1.2.1