[gnutls-devel] GnuTLS | gnutls_certificate_type_get*: ensure that the default type is returned (!806)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Thu Nov 15 00:19:42 CET 2018
Tom started a new discussion on tests/resume.c:
> #if defined(USE_X509)
> unsigned int l;
> + if (gnutls_certificate_type_get(session) != GNUTLS_CRT_X509)
> + fail("did not find the expected certificate type! (%d)\n", gnutls_certificate_type_get(session));
I think this error message can be clearer. Is the `(%d)` giving the expected or the negotiated one? This is not clear from the text.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/806#note_117364721
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel