[gnutls-devel] GnuTLS | log print mac key size error in constate.c (#1437)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Dec 6 14:24:43 CET 2022



xuraoqing created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1437



in file constate.c:line122, as follows,key_size shoube be client_write->mac_key_size
_gnutls_hard_log("INT: CLIENT MAC KEY [%d]: %s\n",
	key_size,
	_gnutls_bin2hex(client_write->mac_key,
	        hash_size,
	        buf, sizeof(buf), NULL));

in file constate.c:line128, as follows,key_size shoube be server_write->mac_key_size
_gnutls_hard_log("INT: SERVER MAC KEY [%d]: %s\n",
	key_size,
	_gnutls_bin2hex(server_write->mac_key,
		hash_size,
	        buf, sizeof(buf), NULL));

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1437
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/20221206/8738e76c/attachment.html>


More information about the Gnutls-devel mailing list