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/crypto/pkcs7.c | |
parent | de92b9e70c36c6f098913dca68d776e487d32edd (diff) | |
download | strongswan-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.c | 2 |
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); |