diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-29 09:13:20 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-29 09:13:20 +0000 |
commit | f67eebccc8d47046c9c821ad24a161e302fbcad8 (patch) | |
tree | 246d9551d031d0c5778d89b8cd82bb004749d3cd /src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c | |
parent | de92b9e70c36c6f098913dca68d776e487d32edd (diff) | |
download | strongswan-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.c | 4 |
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; } |