diff options
author | Ulf Möller <ulf@openssl.org> | 2000-01-16 15:58:17 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-01-16 15:58:17 +0000 |
commit | 373b575f5a7b509bbadd67b1d57eef57dd23357a (patch) | |
tree | 67e1b8d65bdf6a1968754b194ad98123c28a7aae /crypto/pkcs7/pk7_mime.c | |
parent | e1798f856d00bd5317c6eebda00ef8e51d14b1de (diff) |
New function RAND_pseudo_bytes() generated pseudorandom numbers that
are not guaranteed to be unpredictable.
Diffstat (limited to 'crypto/pkcs7/pk7_mime.c')
-rw-r--r-- | crypto/pkcs7/pk7_mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index 4282f69d0d..54d5f422ad 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -149,7 +149,7 @@ int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) if((flags & PKCS7_DETACHED) && data) { /* We want multipart/signed */ /* Generate a random boundary */ - RAND_bytes((unsigned char *)bound, 32); + RAND_pseudo_bytes((unsigned char *)bound, 32); for(i = 0; i < 32; i++) { c = bound[i] & 0xf; if(c < 10) c += '0'; |