aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/speed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/speed.cpp')
-rw-r--r--src/cli/speed.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 30a01a934..58f12ef92 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -434,6 +434,8 @@ class Speed final : public Command
Botan::CPUID::clear_cpuid_bit(Botan::CPUID::CPUID_AVX2_BIT);
else if(cpuid_to_clear == "sse2")
Botan::CPUID::clear_cpuid_bit(Botan::CPUID::CPUID_SSE2_BIT);
+ else if(cpuid_to_clear == "sha")
+ Botan::CPUID::clear_cpuid_bit(Botan::CPUID::CPUID_SHA_BIT);
#endif
}