summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-31 16:30:50 +1000
committerPauli <pauli@openssl.org>2021-06-01 18:13:36 +1000
commit528685fe7767b376fe299a602217f3a3a7e1d21d (patch)
treea3b62613d3357ce7769bbaf67d03927d5f62d4a2 /doc
parentf7c1b472bf0a790b9c87e1c87e48897d6413ec45 (diff)
downloadopenssl-new-528685fe7767b376fe299a602217f3a3a7e1d21d.tar.gz
rand: use size_t for size argument to RAND_bytes_ex()
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15540)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/RAND_bytes.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man3/RAND_bytes.pod b/doc/man3/RAND_bytes.pod
index 832790fb95..3267d8fbb1 100644
--- a/doc/man3/RAND_bytes.pod
+++ b/doc/man3/RAND_bytes.pod
@@ -12,9 +12,9 @@ RAND_pseudo_bytes - generate random data
int RAND_bytes(unsigned char *buf, int num);
int RAND_priv_bytes(unsigned char *buf, int num);
- int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, int num,
+ int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
unsigned int strength);
- int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, int num,
+ int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
unsigned int strength);
Deprecated since OpenSSL 1.1.0, can be hidden entirely by defining