[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Nov 20 13:52:44 CET 2018
Nikos Mavrogiannopoulos started a new discussion on lib/pcert.c:
> +int gnutls_pcert_import_rawpk(gnutls_pcert_st* pcert,
> + gnutls_pubkey_t pubkey, unsigned int flags)
> +{
> + /* For convenience we reuse the internal pcert structure to hold
> + * our raw public key. By doing so we only need one certificate
> + * structure that can hold multiple certificate-like credential
> + * types.
> + */
> + int ret;
> +
> + // Check whether a valid pointer to a public key is passed
> + if (pubkey == NULL) {
> + return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);
> + }
> +
> + // Reset our pcert memory to all zeros
same here
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_118714456
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/20181120/855ffcbf/attachment-0001.html>
More information about the Gnutls-devel
mailing list