[gnutls-devel] GnuTLS | DEFAULT_MAX_VERIFY_DEPTH value misaligned with documentation (#1892)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Thu May 28 15:50:49 CEST 2026
Issue created by Satya Jhaveri: https://gitlab.com/gnutls/gnutls/-/work_items/1892
## Summary:
The documentation for `gnutls_certificate_set_verify_limits()` (in `lib/cert-session.c`) states that the default for `max_depth` is 5. However, in `lib/gnutls_int.h`, the default is set to 16: `#define DEFAULT_MAX_VERIFY_DEPTH 16` .
## Recommended Fix:
The documentation for the `gnutls_certificate_set_verify_limits()` function in `lib/cert-session.c` should be corrected to align with the true default value.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/work_items/1892
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/5-djvboksysoikg0d5pv5s1y1vn-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/20260528/084d0f61/attachment.html>
More information about the Gnutls-devel
mailing list