Re: SHA digest differences in version 1.0 and 1.1.1

2021-05-14 Thread Matt Caswell
On 14/05/2021 09:21, openssl@benshort.co.uk wrote: Hi, I am working with some legacy code which was written to use openssl version 1.0. I am trying to make it work with openssl version 1.1.1 but the following line returns NULL.     const EVP_MD* messageDigest = EVP_get_digestbyname

SHA digest differences in version 1.0 and 1.1.1

2021-05-14 Thread openssl . org
Hi, I am working with some legacy code which was written to use openssl version 1.0. I am trying to make it work with openssl version 1.1.1 but the following line returns NULL.     const EVP_MD* messageDigest = EVP_get_digestbyname("sha"); I changed it to the following.     const EVP_MD*