[gnutls-devel] GnuTLS | add CRL issuer get test (!1722)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Mar 13 03:34:43 CET 2023




Daiki Ueno started a new discussion on tests/crl_apis.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1722#note_1310735343

>  	return crl;
>  }
>  
> +static void verify_issuer(gnutls_x509_crl_t crl,
> +			  const gnutls_datum_t * issuer_cert)
> +{
> +#define DN_MAX_LEN (1024)
> +	gnutls_x509_crt_t crt;
> +	char *issuer = gnutls_malloc(DN_MAX_LEN);

`gnutls_calloc` (so you wouldn't need `memset`)?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1722#note_1310735343
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/20230313/80353cdf/attachment.html>


More information about the Gnutls-devel mailing list