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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Nov 15 11:36:29 CET 2018


Tom commented on a discussion on lib/rawpubkey.c:

> +	/* TODO find out wat it does. now copied from x509 func. */
> +	if( cred->pin.cb )
> +	{
> +		gnutls_privkey_set_pin_function( privkey, cred->pin.cb, cred->pin.data );
> +	}
> +
> +	/* Import x509 private key into our generic private key struct */
> +	ret = gnutls_privkey_import_x509( privkey, key, GNUTLS_PRIVKEY_IMPORT_COPY );
> +	if( ret < 0 )
> +	{
> +		gnutls_assert();
> +		return ret;
> +	}
> +
> +	/* We now convert our raw public key to a parsed certificate (pcert) structure */
> +	// Allocate some memory

You are looking at old code. Rawpubkey.c does not exist anymore. It should not be in the git tree.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_117473406
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/20181115/347bab6b/attachment.html>


More information about the Gnutls-devel mailing list