Ignore openssl deprecation warning for now (fixes #5597)

This commit is contained in:
def 2022-07-11 00:19:01 +02:00 committed by Dennis Felsing
parent 53e9fd3599
commit 6fc2296a6e

View file

@ -1,6 +1,11 @@
#if defined(CONF_OPENSSL)
#include "hash_ctxt.h"
#ifdef __GNUC__
// EVP requires heap allocations, let's postpone the replacement for now
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
void sha256_init(SHA256_CTX *ctxt)
{
SHA256_Init(ctxt);