1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

threads: support libgcrypt 1.6 hack

Not 100% satisfied of this patch, but the way libgcrypt handles
threading in 1.6 is not compatible with custom handlers. The
new code basicaly uses pthreads in every case. This will probably
not work on windows.
This commit is contained in:
Aris Adamantiadis
2014-01-08 16:58:49 +01:00
parent b617d7fa29
commit 57ef959aa3
3 changed files with 26 additions and 2 deletions

View File

@ -61,5 +61,6 @@ implement the following methods :
- mutex_destroy
- thread_id
libgcrypt 1.6 and bigger backend does not support custom callback. Using anything else than pthreads (ssh_threads_get_pthread()) here will fail.
Good luck !
*/