[gnutls-devel] GnuTLS | Read Certificate Transparency (RFC 6962) SCT extension (!1367)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Mar 21 13:31:27 CET 2021




Ander Juaristi commented on a discussion on lib/x509/x509_ext.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1367#note_534197947

> +		goto cleanup;
> +	}
> +
> +	return 0;
> +
> +cleanup:
> +	_gnutls_free_datum(&sct->signature);
> +	return ret;
> +}
> +
> +static int _gnutls_ct_sct_add(struct ct_sct_st *sct,
> +			      struct ct_sct_st **scts, unsigned int *size)
> +{
> +	struct ct_sct_st *new_scts;
> +
> +	new_scts = gnutls_realloc(*scts, (*size + 1) * sizeof(struct ct_sct_st));

Okay, but wouldn't it be better to wait until !1392 is merged? Right now I don't see any `_gnutls_reallocarray`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1367#note_534197947
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/20210321/366e51d1/attachment-0001.html>


More information about the Gnutls-devel mailing list