aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/entropy/cryptoapi_rng/es_capi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/entropy/cryptoapi_rng/es_capi.cpp b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
index 6dbe3e1b9..a1d809d0d 100644
--- a/src/lib/entropy/cryptoapi_rng/es_capi.cpp
+++ b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
@@ -82,7 +82,7 @@ Win32_CAPI_EntropySource::Win32_CAPI_EntropySource(const std::string& provs)
if(prov_name == "RSA_FULL")
prov_type = PROV_RSA_FULL;
else if(prov_name == "INTEL_SEC")
- prov_type == PROV_INTEL_SEC;
+ prov_type = PROV_INTEL_SEC;
else if(prov_name == "RNG")
prov_type = PROV_RNG;
else