git-2.22.0/sha1dc_git.c
/*
 * Same as SHA1DCFinal, but convert collision attack case into a verbose die().
 */
Same as SHA1DCFinal, but convert collision attack case into a verbose die().
Same as SHA1DCFinal but convert collision attack case into a verbose die () .
void git_SHA1DCFinal(unsigned char hash[20], SHA1_CTX *ctx)
{
	if (!SHA1DCFinal(hash, ctx))
		return;
	die("SHA-1 appears to be part of a collision attack: %s",
	    sha1_to_hex(hash));
}
void git_SHA1DCFinal ( unsigned char hash [ 20 ] , SHA1_CTX * ctx ) { if ( ! SHA1DCFinal ( hash , ctx ) ) return ; die ( " " , sha1_to_hex ( hash ) ) ; }
Same as SHA1DCFinal, but convert collision attack case into a verbose die().
Same as SHA1DCFinal but convert collision attack case into a verbose die () .