[gnutls-devel] GnuTLS | Re-introduce topendir on Windows with Unicode support (!932)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Feb 21 11:14:06 CET 2019


Tim Rühsen started a new discussion on lib/x509/verify-high2.c:

> +			) {
> +				snprintf(path, sizeof(path), "%s/%S",
> +					dirname, d->d_name);
> +
> +				if (crl != 0) {
> +					ret =
> +					    gnutls_x509_trust_list_add_trust_file
> +					    (list, NULL, path, type, tl_flags,
> +					     tl_vflags);
> +				} else {
> +					ret =
> +					    gnutls_x509_trust_list_add_trust_file
> +					    (list, path, NULL, type, tl_flags,
> +					     tl_vflags);
> +				}
> +				if (ret >= 0)

Doesn't `if (ret > 0)` make more sense here ?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/932#note_143566396
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/20190221/ba3b2ed0/attachment.html>


More information about the Gnutls-devel mailing list