blueprint-freespeech / ricochet-refresh

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

use EVP API of openssl3 #174

Closed milahu closed 11 months ago

milahu commented 11 months 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

pospeselr commented 11 months 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

pospeselr commented 11 months ago

Thanks @milahu!