Re: GnuTLS | accelerated: accept NULL as digest argument for gnutls_hash_output (!2048)

Read-only notification of GnuTLS library development activities <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>


Daiki Ueno commented on a discussion on lib/crypto-selftests.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2048#note_2935477770

 >  			}
 >  		}
 > +
 > +		/* Exercise gnutls_hash_output(..., NULL), which
 > +		 * resets the hash context
 > +		 */
 > +		if (flags & GNUTLS_SELF_TEST_FLAG_ALL) {
 > +			ret = gnutls_hash_init(&hd, dig);
 > +			if (ret < 0) {
 > +				_gnutls_debug_log("error initializing: %s\n",
 > +						  gnutls_digest_get_name(dig));
 > +				return gnutls_assert_val(
 > +					GNUTLS_E_SELF_TEST_ERROR);
 > +			}
 > +
 > +			/* First feed a dummy content */

Fixed

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2048#note_2935477770
You're receiving this email because of your account on gitlab.com.

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.