[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 27 13:22:32 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/pcert.c:

> + * set because there is no certificate structure around the key to define
> + * this value. See for more info gnutls_x509_crt_get_key_usage().
> + *
> + * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
> + *   negative error value.
> + *
> + * Since: 3.6.5
> + **/
> +int gnutls_pcert_import_rawpk_raw(gnutls_pcert_st* pcert,
> +				    const gnutls_datum_t* rawpubkey,
> +				    gnutls_x509_crt_fmt_t format,
> +				    unsigned int key_usage, unsigned int flags)
> +{
> +	int ret;
> +
> +	// Check whether a valid pointer to a rawpubkey is passed

unnecessary comment

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_120390129
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/12c4071a/attachment-0001.html>


More information about the Gnutls-devel mailing list