summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/crypto_ipsecmb/ipsecmb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/crypto_ipsecmb/ipsecmb.c b/src/plugins/crypto_ipsecmb/ipsecmb.c
index 499e269f02a..765b03a51cd 100644
--- a/src/plugins/crypto_ipsecmb/ipsecmb.c
+++ b/src/plugins/crypto_ipsecmb/ipsecmb.c
@@ -523,6 +523,9 @@ crypto_ipsecmb_init (vlib_main_t * vm)
if ((error = vlib_call_init_function (vm, vnet_crypto_init)))
return error;
+ if (!clib_cpu_supports_aes ())
+ return 0;
+
/*
* A priority that is better than OpenSSL but worse than VPP natvie
*/