summaryrefslogtreecommitdiff
path: root/doc/printlist.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-15 10:29:42 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-15 10:29:46 +0200
commitb2d0c85608ead3c86847509d2eb695ae10edb5fe (patch)
tree16aad92faea3d89e3fda1877e5c113400b1d235c /doc/printlist.c
parenta35be13b8a28d576c4bb78c1433ec6369434c5f3 (diff)
downloadgnutls-b2d0c85608ead3c86847509d2eb695ae10edb5fe.tar.gz
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 <nmav@redhat.com>
Diffstat (limited to 'doc/printlist.c')
-rw-r--r--doc/printlist.c19
1 files changed, 3 insertions, 16 deletions
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");
}