[multiple] ignore openssl 3.0.0 deprecation warns

quiet openssl 3.0.0 deprecation warnings for
low-level digest algorithm interfaces

future: migrate to openssl interfaces:
  EVP_DigestInit_ex(3), EVP_DigestUpdate(3), and EVP_DigestFinal_ex(3)

x-ref:
  https://github.com/openssl/openssl/pull/10791
  https://www.openssl.org/docs/manmaster/man3/EVP_DigestInit_ex.html
  https://wiki.openssl.org/index.php/EVP_Message_Digests
master
Glenn Strauss 2 years ago
parent a3ccc46be1
commit e1bcdb5e9f

@ -50,6 +50,7 @@
#endif
#include "sys-crypto.h"
#include "sys-crypto-md.h"
#ifdef BORINGSSL_API_VERSION
#undef OPENSSL_NO_STDIO /* for X509_STORE_load_locations() */

@ -257,6 +257,13 @@ SHA256_Update(SHA256_CTX *ctx, const void *data, size_t length)
#elif defined(USE_OPENSSL_CRYPTO)
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
#include <openssl/macros.h>
#undef DEPRECATEDIN_3_0
#define DEPRECATEDIN_3_0(f) f;
#endif
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>

Loading…
Cancel
Save