aboutsummaryrefslogtreecommitdiffstats
path: root/src/if_algo.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-27 13:54:26 +0000
committerlloyd <[email protected]>2008-06-27 13:54:26 +0000
commitd1bc1ae91003bc10b46b0d1e38f0ac64080b4c81 (patch)
tree91ff95415bdff3aa8405b9ba377984d11e333b37 /src/if_algo.cpp
parent1b4a1cd7b3e74bd3d3c34c6c89721536a6fe3a27 (diff)
Split IF_Core constructor into two, one for public keys and one for private.
Public version doesn't need an RNG argument.
Diffstat (limited to 'src/if_algo.cpp')
-rw-r--r--src/if_algo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_algo.cpp b/src/if_algo.cpp
index e2178e5f1..072822f2a 100644
--- a/src/if_algo.cpp
+++ b/src/if_algo.cpp
@@ -162,7 +162,7 @@ PKCS8_Decoder* IF_Scheme_PrivateKey::pkcs8_decoder(RandomNumberGenerator& rng)
*************************************************/
void IF_Scheme_PublicKey::X509_load_hook(RandomNumberGenerator& rng)
{
- core = IF_Core(rng, e, n);
+ core = IF_Core(e, n);
load_check(rng);
}