blueprint-freespeech / ricochet-refresh

Anonymous peer-to-peer instant messaging
https://www.ricochetrefresh.net
Other
223 stars 27 forks source link

use EVP API of openssl3 #174

Closed milahu closed 1 year ago

milahu commented 1 year ago

fix: warning: ‘int SHA1_Init(SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]

https://wiki.openssl.org/index.php/EVP_Message_Digests

continue #172

morganava commented 1 year ago

Had to add std:: prefix, remove the explicit EVP_MD_CTX_free call, and changed the free type to decltype(&EVP_MD_CTX_free); squashed, reworded and pushed as e1635d68ab08201d95c1eb823035c948836f7bd0

morganava commented 1 year ago

Thanks @milahu!