GnuTLS | DEFAULT_MAX_VERIFY_DEPTH value misaligned with documentation (#1892)
Read-only notification of GnuTLS library development activities <[email protected]> Thu, 28 May 2026 13:50:49 +0000
| Newsgroups | gmane.comp.encryption.gpg.gnutls.devel |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Gnutls-devel mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-devel