summaryrefslogtreecommitdiff
path: root/lib/crypto/aesgcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/aesgcm.c')
-rw-r--r--lib/crypto/aesgcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/aesgcm.c b/lib/crypto/aesgcm.c
index 902e49410aaf..277824d6b4af 100644
--- a/lib/crypto/aesgcm.c
+++ b/lib/crypto/aesgcm.c
@@ -199,7 +199,7 @@ MODULE_DESCRIPTION("Generic AES-GCM library");
MODULE_AUTHOR("Ard Biesheuvel <ardb@kernel.org>");
MODULE_LICENSE("GPL");
-#ifndef CONFIG_CRYPTO_MANAGER_DISABLE_TESTS
+#ifdef CONFIG_CRYPTO_SELFTESTS
/*
* Test code below. Vectors taken from crypto/testmgr.h