From 9d2e216c5be050cc23c883dcb6f36a89c06f6aa3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 12 Mar 2017 18:41:36 +0100 Subject: [PATCH] Ignore internal warnings about deprecated aes128 functions --- .../crypto_stream/aes128ctr/nacl/stream_aes128ctr_nacl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libsodium/crypto_stream/aes128ctr/nacl/stream_aes128ctr_nacl.c b/src/libsodium/crypto_stream/aes128ctr/nacl/stream_aes128ctr_nacl.c index a3d67796..0d8e0041 100644 --- a/src/libsodium/crypto_stream/aes128ctr/nacl/stream_aes128ctr_nacl.c +++ b/src/libsodium/crypto_stream/aes128ctr/nacl/stream_aes128ctr_nacl.c @@ -1,6 +1,10 @@ #include "crypto_stream_aes128ctr.h" +#ifdef __GNUC__ +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + int crypto_stream_aes128ctr(unsigned char *out, unsigned long long outlen, const unsigned char *n, const unsigned char *k)