Changeset View
Changeset View
Standalone View
Standalone View
src/dirmngr.c
Context not available. | |||||
the option parsing may need services of the libraries. */ | the option parsing may need services of the libraries. */ | ||||
/* Libgcrypt requires us to register the threading model first. | /* Libgcrypt requires us to register the threading model first. | ||||
Note that this will also do the pth_init. */ | Note that this will also do the pth_init for libgcrypt < 1.6 */ | ||||
#if GCRYPT_VERSION_NUMBER >= 0x010600 | |||||
pth_init (); | |||||
#endif | |||||
/* Init Libgcrypt. */ | /* Init Libgcrypt. */ | ||||
rc = gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pth); | rc = gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pth); | ||||
if (rc) | if (rc) | ||||
Context not available. |