mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Ignore openssl deprecation warning for now (fixes #5597)
This commit is contained in:
parent
53e9fd3599
commit
6fc2296a6e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue