Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 322165 [details] 4 simple test programs Description of problem: Libgcrypt is failing in some programs with message ---- DBG: md_enable: algorithm 1 not available Ohhhh jeeee: gcry_md_open failed for algo 1: Invalid digest algorithmAborted ---- I've composed 4 sample programs. 3 of them are failing. Version-Release number of selected component (if applicable): libgcrypt-1.4.3-2.fc10.x86_64 gcc-4.3.2-6.x86_64 glibc-2.8.90-14.x86_64 How reproducible: Always. Steps to Reproduce: 1. Untar attached file. 2. Run make. Actual results: 3 of 4 tests failing Expected results: All is fine (like on F-9). Additional info: Tests were ran in mock rawhide chroot.
The attachment is broken (not a tarball). Can you please try again to attach the samples?
Created attachment 322280 [details] 4 simple test programs
Comment on attachment 322280 [details] 4 simple test programs Seems bugzilla corrupts the file when downloading it.
Created attachment 322281 [details] fail.cpp
Created attachment 322283 [details] fail2.cpp
Created attachment 322284 [details] fail3.cpp
Created attachment 322285 [details] good.cpp
Created attachment 322286 [details] Makefile
Uploaded individual files.
You must call at least call gcry_check_version(NULL); before calling any crypto functions from libgcrypt. Otherwise the library is not properly initialized.
Oh, thanks a lot! This seem to fix the problems.