[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
Mon Nov 19 06:54:15 CET 2018
Nikos Mavrogiannopoulos commented on a 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 X509 certificate type! (%d)\n", gnutls_certificate_type_get(session));
> if (counter == 0 && gnutls_certificate_get_ours(session) == NULL)
> fail("no certificate returned on server side (%s)\n", counter?"resumed session":"first session");
Ok, this was not modified as part of this patch. I've submitted a separate patch for this cleanup, though I think it may be good to restrict the scope of this fix, and not extend it further to a cleanup patch.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/806#note_118139779
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