[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Nov 27 15:51:30 CET 2018
Nikos Mavrogiannopoulos started a new discussion on lib/cert-cred-rawpk.c:
> + gnutls_free(pcert);
> +
> + return gnutls_assert_val(ret);
> + }
> + // Successfully added a certificate
> + cred->ncerts++;
> +
> + /* Check whether the key pair matches.
> + * After this point we do not deinitialize anything on failure to avoid
> + * double freeing. We intentionally keep everything as the credentials state
> + * is documented to be in undefined state. */
> + if ((ret = _gnutls_check_key_cert_match(cred)) < 0) {
> + return gnutls_assert_val(ret);
> + }
> +
> + // OK, all fine
unnecessary comment
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_120445674
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/20181127/66d7e5d8/attachment.html>
More information about the Gnutls-devel
mailing list