diff options
author | Jack Lloyd <[email protected]> | 2018-02-19 11:45:35 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-02-19 11:48:04 -0500 |
commit | 4dcff1874ad430269bb7d75818b906b34331d919 (patch) | |
tree | d810d87b0a9aeba197f8dc376113cb36720f90c0 /src/lib/pubkey/rsa | |
parent | 6d4affbbc27f021c6e87f74c5db420b75ca96581 (diff) |
Use new DL_Group functions
Diffstat (limited to 'src/lib/pubkey/rsa')
-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 cfb1ae7ba..1ba4d6b25 100644 --- a/src/lib/pubkey/rsa/rsa.cpp +++ b/src/lib/pubkey/rsa/rsa.cpp @@ -219,7 +219,7 @@ class RSA_Private_Operation BigInt private_op(const BigInt& m) const { #if defined(BOTAN_TARGET_OS_HAS_THREADS) - auto future_j1 = std::async(std::launch::async, m_powermod_d1_p, m); + auto future_j1 = std::async(std::launch::async, std::ref(m_powermod_d1_p), m); BigInt j2 = m_powermod_d2_q(m); BigInt j1 = future_j1.get(); #else |