diff options
author | Rich Salz <rsalz@openssl.org> | 2017-06-21 13:55:02 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-07-03 19:26:56 -0400 |
commit | 5ecff87d666f47d0003b106c61ada1e25655b81d (patch) | |
tree | 108956af50bdc6bf5d396014fe700b2c18565244 /apps | |
parent | 299c9cbb631869026537c96b7431d7682dd3c008 (diff) |
BN_pseudo_rand is really BN_rand
And BN_pseudo_rand_range is really BN_rand_range.
Document that we might deprecate those functions.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3743)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c index 8b1aab4c4d..4459be9c9b 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -1511,7 +1511,7 @@ int rand_serial(BIGNUM *b, ASN1_INTEGER *ai) if (btmp == NULL) return 0; - if (!BN_pseudo_rand(btmp, SERIAL_RAND_BITS, 0, 0)) + if (!BN_rand(btmp, SERIAL_RAND_BITS, 0, 0)) goto error; if (ai && !BN_to_ASN1_INTEGER(btmp, ai)) goto error; |