[gnutls-devel] GnuTLS | [#1893] Align max cert verify depth with OpenSSL (!2122)
(Deprecated) Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Sat Aug 8 22:48:08 CEST 2026
Tim Rühsen started a new discussion on tests/verify-limits.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2122#note_3662821681
> + gnutls_deinit(server);
> + gnutls_certificate_free_credentials(client_cred);
> + gnutls_certificate_free_credentials(server_cred);
> +}
> +
> +void doit(void)
> +{
> + gnutls_x509_crt_t certs[CERTIFICATE_COUNT];
> + gnutls_x509_privkey_t key;
> + unsigned int i;
> +
> + CHECK_RET(global_init());
> + CHECK_RET(gnutls_x509_privkey_init(&key));
> + CHECK_RET(gnutls_x509_privkey_import(key, &server_ecc_key,
> + GNUTLS_X509_FMT_PEM));
> + create_chain(certs, key);
Pass the countof certs as `chain_size`
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2122#note_3662821681
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/namespace/17175643/sent_notifications/6-5181k09ehzhd8potbo0ku2fm5-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260808/eeed0739/attachment-0003.html>
More information about the Gnutls-devel
mailing list