mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[-] Fix deprecated GCRY_THREAD_OPTION_PTHREAD_IMPL and GCRYCTL_SET_THREAD_CBS
Looks like libgcrypt uses platform standard threading instead of asking caller for a threading package/callbacks.
This commit is contained in:
@@ -58,7 +58,6 @@
|
||||
|
||||
#include <pthread.h>
|
||||
#include <gcrypt.h>
|
||||
GCRY_THREAD_OPTION_PTHREAD_IMPL;
|
||||
|
||||
#include "conffile.h"
|
||||
#include "db.h"
|
||||
@@ -684,9 +683,6 @@ main(int argc, char **argv)
|
||||
/* Initialize libcurl */
|
||||
curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||
|
||||
/* Initialize libgcrypt */
|
||||
gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
|
||||
|
||||
gcry_version = gcry_check_version(GCRYPT_VERSION);
|
||||
if (!gcry_version)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user