diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2017-08-25 22:39:33 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-08-28 14:52:02 +0200 |
commit | 4871fa49cdd0d4473b6a815fc01fbde3e6ced339 (patch) | |
tree | 11f329d58a4da8426c2e1942a3251d279bf1e81f /util/private.num | |
parent | DRBG: clarify difference between entropy counts and buffer lengths (diff) | |
download | openssl-4871fa49cdd0d4473b6a815fc01fbde3e6ced339.tar.xz openssl-4871fa49cdd0d4473b6a815fc01fbde3e6ced339.zip |
RAND: Rename the RAND_poll_ex() callback and its typedef
With the introduction of RAND_poll_ex(), the `RAND_add()` calls were
replaced by meaningless cb(...). This commit changes the 'cb(...)'
calls back to 'rand_add(...)' calls by changing the signature as follows:
-int RAND_poll_ex(RAND_poll_fn cb, void *arg);
+int RAND_poll_ex(RAND_poll_cb rand_add, void *arg);
Changed the function typedef name to 'RAND_poll_cb' to emphasize the fact
that the function type represents a callback function.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4266)
Diffstat (limited to 'util/private.num')
-rw-r--r-- | util/private.num | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/private.num b/util/private.num index 0634757cfc..a757357801 100644 --- a/util/private.num +++ b/util/private.num @@ -33,7 +33,7 @@ OSSL_STORE_error_fn datatype OSSL_STORE_load_fn datatype OSSL_STORE_open_fn datatype OSSL_STORE_post_process_info_fn datatype -RAND_poll_fn datatype +RAND_poll_cb datatype SSL_CTX_keylog_cb_func datatype SSL_early_cb_fn datatype SSL_psk_client_cb_func datatype |