提交 1931a04c 编写于 作者: J Joey Yandle 提交者: Rich Salz

update docs with descriptions and deprecation

Reviewed-by: NMatt Caswell <matt@openssl.org>
Reviewed-by: NTim Hudson <tjh@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1079)
上级 2ff3b693
...@@ -15,8 +15,10 @@ entropy to the PRNG ...@@ -15,8 +15,10 @@ entropy to the PRNG
int RAND_status(void); int RAND_status(void);
#if OPENSSL_API_COMPAT < 0x10100000L
int RAND_event(UINT iMsg, WPARAM wParam, LPARAM lParam); int RAND_event(UINT iMsg, WPARAM wParam, LPARAM lParam);
void RAND_screen(void); void RAND_screen(void);
#endif
=head1 DESCRIPTION =head1 DESCRIPTION
...@@ -42,6 +44,8 @@ or L<RAND_load_file(3)>. ...@@ -42,6 +44,8 @@ or L<RAND_load_file(3)>.
RAND_seed() is equivalent to RAND_add() when B<num == entropy>. RAND_seed() is equivalent to RAND_add() when B<num == entropy>.
RAND_event() and RAND_screen() are deprecated and should not be called.
=head1 RETURN VALUES =head1 RETURN VALUES
RAND_status() returns 1 if the PRNG has been seeded RAND_status() returns 1 if the PRNG has been seeded
...@@ -53,6 +57,11 @@ RAND_screen calls RAND_poll(). ...@@ -53,6 +57,11 @@ RAND_screen calls RAND_poll().
The other functions do not return values. The other functions do not return values.
=head1 HISTORY
RAND_event() and RAND_screen() are deprecated since OpenSSL
1.1. Use the functions described above instead.
=head1 SEE ALSO =head1 SEE ALSO
L<rand(3)>, L<RAND_egd(3)>, L<rand(3)>, L<RAND_egd(3)>,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册