aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/pkcs7.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/crypto/pkcs7.c
parentde92b9e70c36c6f098913dca68d776e487d32edd (diff)
downloadstrongswan-f67eebccc8d47046c9c821ad24a161e302fbcad8.tar.bz2
strongswan-f67eebccc8d47046c9c821ad24a161e302fbcad8.tar.xz
changed RNG_REAL to RNG_TRUE
Diffstat (limited to 'src/libstrongswan/crypto/pkcs7.c')
-rw-r--r--src/libstrongswan/crypto/pkcs7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/pkcs7.c b/src/libstrongswan/crypto/pkcs7.c
index 01a5f75bd..61a027014 100644
--- a/src/libstrongswan/crypto/pkcs7.c
+++ b/src/libstrongswan/crypto/pkcs7.c
@@ -772,7 +772,7 @@ bool build_envelopedData(private_pkcs7_t *this, x509_t *cert,
{
rng_t *rng;
- rng = lib->crypto->create_rng(lib->crypto, RNG_REAL);
+ rng = lib->crypto->create_rng(lib->crypto, RNG_TRUE);
rng->allocate_bytes(rng, crypter->get_key_size(crypter), &symmetricKey);
DBG4(" symmetric encryption key: %B", &symmetricKey);
rng->destroy(rng);