projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo.
[oweals/openssl.git]
/
doc
/
crypto
/
RAND_bytes.pod
diff --git
a/doc/crypto/RAND_bytes.pod
b/doc/crypto/RAND_bytes.pod
index ec874f1216056b24e2e191e383bc1def1baa07ba..1a9b91e28144222419516b99392b3222c50d865b 100644
(file)
--- a/
doc/crypto/RAND_bytes.pod
+++ b/
doc/crypto/RAND_bytes.pod
@@
-2,7
+2,7
@@
=head1 NAME
=head1 NAME
-RAND_bytes, RAND_pseudo_bytes -
G
enerate random data
+RAND_bytes, RAND_pseudo_bytes -
g
enerate random data
=head1 SYNOPSIS
=head1 SYNOPSIS
@@
-25,6
+25,9
@@
unpredictable. They can be used for non-cryptographic purposes and for
certain purposes in cryptographic protocols, but usually not for key
generation etc.
certain purposes in cryptographic protocols, but usually not for key
generation etc.
+The contents of B<buf> is mixed into the entropy pool before retrieving
+the new pseudo-random bytes unless disabled at compile time (see FAQ).
+
=head1 RETURN VALUES
RAND_bytes() returns 1 on success, 0 otherwise. The error code can be
=head1 RETURN VALUES
RAND_bytes() returns 1 on success, 0 otherwise. The error code can be
@@
-35,7
+38,8
@@
method.
=head1 SEE ALSO
=head1 SEE ALSO
-L<rand(3)|rand(3)>, L<err(3)|err(3)>, L<RAND_add(3)|RAND_add(3)>
+L<rand(3)|rand(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
+L<RAND_add(3)|RAND_add(3)>
=head1 HISTORY
=head1 HISTORY