Commit ab9c689a authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

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

parent 4c329696
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -717,8 +717,10 @@ file.

Multi-threaded applications must provide two callback functions to
OpenSSL by calling CRYPTO_set_locking_callback() and
CRYPTO_set_id_callback().  This is described in the threads(3)
manpage.
CRYPTO_set_id_callback(), for all versions of OpenSSL up to and
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?

+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ Solaris, Irix and Win32.

=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.
CRYPTO_num_locks() was added in OpenSSL 0.9.4.
All functions dealing with dynamic locks were added in OpenSSL 0.9.5b-dev.