[gnutls-devel] GnuTLS | x509: check certificate trust status when adding CA through AIA (!1354)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Thu Nov 19 11:09:24 CET 2020
Sahana Prasad started a new discussion on lib/x509/common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1354#note_450703813
> * in issuer array. O(n^2) so consider that before
> * increasing DEFAULT_MAX_VERIFY_DEPTH.
> */
> - for (i = 0; i < *clist_size; i++) {
> - for (j = 1; j < *clist_size; j++) {
> + for (i = 0; i < clist_size; i++) {
> + for (j = 1; j < clist_size; j++) {
shouldn't 'j' start from 0?
what if clist[0] is the issuer of clist[1]
right no we never check `gnutls_x509_crt_check_issuer(clist[1], clist[0])`
or could I be missing something here
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1354#note_450703813
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20201119/3d426c9f/attachment.html>
More information about the Gnutls-devel
mailing list