Re: EVP_DigestInit_ex will crash on Linux

2006-09-09 Thread Marek Marcola
Hello, > Some news about the crash. > On Windows this code will work: > EVP_MD_CTX Hash; > EVP_DigestInit_ex(&Hash,EVP_sha256(),NULL); > On Linux it be this to work: > EVP_MD_CTX Hash; > EVP_MD_CTX_init(&Hash); > EVP_DigestInit_ex(&Hash,EVP_sha256(),NULL); > Why must I call EVP_MD_CTX_init(&Hash) o

Re: EVP_DigestInit_ex will crash on Linux

2006-09-09 Thread Frank Büttner
Some news about the crash. On Windows this code will work: EVP_MD_CTX Hash; EVP_DigestInit_ex(&Hash,EVP_sha256(),NULL); On Linux it be this to work: EVP_MD_CTX Hash; EVP_MD_CTX_init(&Hash); EVP_DigestInit_ex(&Hash,EVP_sha256(),NULL); Why must I call EVP_MD_CTX_init(&Hash) only under Linux??? smim

EVP_DigestInit_ex will crash on Linux

2006-09-09 Thread Frank Büttner
Hello again my app run fine on windows, but crash on Linux at the call of EVP_DigestInit_ex(&Hash,EVP_sha256(),NULL) any special on Linux? gdb tell me: #0 0x4124a26d in engine_unlocked_finish () from /lib/libcrypto.so.6 #1 0x4124a3bb in ENGINE_finish () from /lib/libcrypto.so.6 #2 0x4125febe in