aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-04-29 09:13:20 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-04-29 09:13:20 +0000
commitf67eebccc8d47046c9c821ad24a161e302fbcad8 (patch)
tree246d9551d031d0c5778d89b8cd82bb004749d3cd /src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c
parentde92b9e70c36c6f098913dca68d776e487d32edd (diff)
downloadstrongswan-f67eebccc8d47046c9c821ad24a161e302fbcad8.tar.bz2
strongswan-f67eebccc8d47046c9c821ad24a161e302fbcad8.tar.xz
changed RNG_REAL to RNG_TRUE
Diffstat (limited to 'src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c')
-rw-r--r--src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c b/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c
index 84fbb3266..2951847c9 100644
--- a/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c
+++ b/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c
@@ -141,10 +141,10 @@ static status_t compute_prime(private_gmp_rsa_private_key_t *this,
rng_t *rng;
chunk_t random_bytes;
- rng = lib->crypto->create_rng(lib->crypto, RNG_REAL);
+ rng = lib->crypto->create_rng(lib->crypto, RNG_TRUE);
if (!rng)
{
- DBG1("no RNG of quality %N found", rng_quality_names, RNG_REAL);
+ DBG1("no RNG of quality %N found", rng_quality_names, RNG_TRUE);
return FAILED;
}