summaryrefslogtreecommitdiffstats
path: root/crypto/aes/aes_ecb.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/aes/aes_ecb.c')
-rw-r--r--crypto/aes/aes_ecb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/aes/aes_ecb.c b/crypto/aes/aes_ecb.c
index f4a75f133b..7270fc31e8 100644
--- a/crypto/aes/aes_ecb.c
+++ b/crypto/aes/aes_ecb.c
@@ -9,6 +9,12 @@
#include <assert.h>
+/*
+ * AES_encrypt/AES_decrypt are deprecated - but we need to use them to implement
+ * AES_ecb_encrypt
+ */
+#include "internal/deprecated.h"
+
#include <openssl/aes.h>
#include "aes_local.h"