You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
522 B

  1. --- a/src/threads.c
  2. +++ b/src/threads.c
  3. @@ -106,6 +106,8 @@ static int libgcrypt_thread_init(void){
  4. static void **libcrypto_mutexes;
  5. +#if OPENSSL_VERSION_NUMBER < 0x10100000L
  6. +
  7. static void libcrypto_lock_callback(int mode, int i, const char *file, int line){
  8. (void)file;
  9. (void)line;
  10. @@ -160,6 +162,16 @@ static void libcrypto_thread_finalize(void){
  11. }
  12. +#else
  13. +
  14. +static int libcrypto_thread_init(void){
  15. + return SSH_OK;
  16. +}
  17. +
  18. +static void libcrypto_thread_finalize(void){
  19. +}
  20. +#endif
  21. +
  22. #endif
  23. /** @internal