]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc: algorithms.texi: include list of groups but skip compression methods
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 15 Aug 2017 08:29:42 +0000 (10:29 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 15 Aug 2017 08:29:46 +0000 (10:29 +0200)
Compression methods are no longer relevant or supported, and groups
replace the elliptic curves.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
doc/printlist.c

index a87f14c545b45313ce150f6cee8c93a31ba9b008..908c98d7a7974ac51805fc1e2cc0f867503003f9 100644 (file)
@@ -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");
        }