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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 27 16:15:58 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/verify-tofu.c:

> +			pubkey.size = cert->size;
> +			need_free = false;
> +			break;
> +		default:
> +			return gnutls_assert_val(GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPE);
>  	}
>  
>  	_gnutls_debug_log("Configuration file: %s\n", db_name);
>  
>  	tdb->store(db_name, host, service, expiration, &pubkey);
>  
> -	ret = 0;
> -
> -      cleanup:
> -	gnutls_free(pubkey.data);
> +	// Cleanup

unnecessary comment

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


More information about the Gnutls-devel mailing list