Param build: make structures opaque.
[openssl.git] / doc / man3 / RAND_egd.pod
index e2c7b3f0e16bc29ee991e9ff27b277813e1ae0e5..3e57e8430dce2534fde549ab4dbd7c8553a3b6b1 100644 (file)
@@ -26,7 +26,7 @@ specified socket B<path>, and passes the data it receives into RAND_add().
 RAND_egd() is equivalent to RAND_egd_bytes() with B<num> set to 255.
 
 RAND_query_egd_bytes() requests B<num> bytes of randomness from an EGD at
-the specified socket B<path>.
+the specified socket B<path>, where B<num> must be less than 256.
 If B<buf> is B<NULL>, it is equivalent to RAND_egd_bytes().
 If B<buf> is not B<NULL>, then the data is copied to the buffer and
 RAND_add() is not called.
@@ -34,7 +34,7 @@ RAND_add() is not called.
 OpenSSL can be configured at build time to try to use the EGD for seeding
 automatically.
 
-=head1 RETURN VALUE
+=head1 RETURN VALUES
 
 RAND_egd() and RAND_egd_bytes() return the number of bytes read from the
 daemon on success, or -1 if the connection failed or the daemon did not
@@ -45,13 +45,15 @@ success, or -1 if the connection failed.
 
 =head1 SEE ALSO
 
-L<RAND_bytes(3)>, L<RAND_add(3)>
+L<RAND_add(3)>,
+L<RAND_bytes(3)>,
+L<RAND(7)>
 
 =head1 COPYRIGHT
 
-Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
 
-Licensed under the OpenSSL license (the "License").  You may not use
+Licensed under the Apache License 2.0 (the "License").  You may not use
 this file except in compliance with the License.  You can obtain a copy
 in the file LICENSE in the source distribution or at
 L<https://www.openssl.org/source/license.html>.