summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
authorTom Vrancken <dev@tomvrancken.nl>2018-08-15 18:29:32 +0200
committerTom Vrancken <dev@tomvrancken.nl>2018-08-20 17:08:01 +0200
commit07180a416731749883234f931ac18831ff38abbb (patch)
tree0b9d13b9ad394477d566f01ba8e279c33711cc7c /src/common.c
parenta42db538c3f01aa76e2c1a2affc39237840c2522 (diff)
downloadgnutls-07180a416731749883234f931ac18831ff38abbb.tar.gz
Implemented RFC7250 certificate type negotiation extensions.
Signed-off-by: Tom Vrancken <dev@tomvrancken.nl>
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common.c b/src/common.c
index a376fdacd8..d94253311c 100644
--- a/src/common.c
+++ b/src/common.c
@@ -656,8 +656,9 @@ void print_list(const char *priorities, int verbose)
#if 0
{
ret =
- gnutls_priority_certificate_type_list(pcache,
- &list);
+ gnutls_priority_certificate_type_list2(pcache,
+ &list,
+ GNUTLS_CTYPE_CLIENT);
printf("Certificate types: ");
if (ret == 0)