diff options
author | Jack Lloyd <[email protected]> | 2018-04-04 13:21:06 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-04-04 13:21:06 -0400 |
commit | f1d4e126bf929a3ed2a509059d054f8aaef865f0 (patch) | |
tree | 9b4cd0dc37babb29b7dda9e57872a9076fb4bcdf | |
parent | c2d4eefafed4aad95f501fa932ab67699db2c5a5 (diff) |
Work around a bug in MSVC lambda handling
-rw-r--r-- | src/lib/pubkey/rsa/rsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/rsa/rsa.cpp b/src/lib/pubkey/rsa/rsa.cpp index 1cd4a15d3..fd95f187f 100644 --- a/src/lib/pubkey/rsa/rsa.cpp +++ b/src/lib/pubkey/rsa/rsa.cpp @@ -231,7 +231,7 @@ class RSA_Private_Operation const BigInt masked_d2 = m_key.get_d2() + (d2_mask * (m_key.get_q() - 1)); #if defined(BOTAN_TARGET_OS_HAS_THREADS) - auto future_j1 = std::async(std::launch::async, [this, &m, &masked_d1]() { + auto future_j1 = std::async(std::launch::async, [this, &m, &masked_d1, powm_window]() { auto powm_d1_p = monty_precompute(m_monty_p, m, powm_window); return monty_execute(*powm_d1_p, masked_d1); }); |