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