提交 ab9c689a 编写于 作者: G Geoff Thorpe

Correct the FAQ and the threads man page re: CRYPTO_THREADID changes.

上级 4c329696
...@@ -717,8 +717,10 @@ file. ...@@ -717,8 +717,10 @@ file.
Multi-threaded applications must provide two callback functions to Multi-threaded applications must provide two callback functions to
OpenSSL by calling CRYPTO_set_locking_callback() and OpenSSL by calling CRYPTO_set_locking_callback() and
CRYPTO_set_id_callback(). This is described in the threads(3) CRYPTO_set_id_callback(), for all versions of OpenSSL up to and
manpage. including 0.9.8[abc...]. As of version 0.9.9, CRYPTO_set_id_callback()
and associated APIs are deprecated by CRYPTO_THREADID_set_callback()
and friends. This is described in the threads(3) manpage.
* I've compiled a program under Windows and it crashes: why? * I've compiled a program under Windows and it crashes: why?
......
...@@ -194,7 +194,7 @@ Solaris, Irix and Win32. ...@@ -194,7 +194,7 @@ Solaris, Irix and Win32.
=head1 HISTORY =head1 HISTORY
CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() are CRYPTO_set_locking_callback() is
available in all versions of SSLeay and OpenSSL. available in all versions of SSLeay and OpenSSL.
CRYPTO_num_locks() was added in OpenSSL 0.9.4. CRYPTO_num_locks() was added in OpenSSL 0.9.4.
All functions dealing with dynamic locks were added in OpenSSL 0.9.5b-dev. All functions dealing with dynamic locks were added in OpenSSL 0.9.5b-dev.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册