blktap2: fix libgcrypt detection

If we want to check the functionality of libgcrypt, we shouldn't test
a function only exported by openssl, but instead the one actually used
in the code.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
This commit is contained in:
Keir Fraser committed 2009-11-23 06:42:12 +00:00
1 parent 61fff729d6
commit f1fa336b59
1 file changed
+1 -2
+1 -2
View File
@@ -4,8 +4,7 @@ cat > .gcrypt.c << EOF
#include <gcrypt.h>
int main(void)
{
char dummy[14];
MD5("DUMMY", 5, dummy);
gcry_md_hash_buffer(GCRY_MD_MD5, NULL, NULL, 0);
return 0;
}
EOF
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.