Updated doxygen for MHD_FEATURE with new option name, fixed check of initialisaion of ligcrypt < 1.6.0

This commit is contained in:
Evgeny Grin (Karlson2k)
2014-04-07 20:26:20 +00:00
parent f46a9bc5fb
commit c196047666
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -2375,9 +2375,9 @@ enum MHD_FEATURE
/**
* Get whether HTTPS is supported. If supported then flag
* #MHD_USE_SSL and options #MHD_OPTION_HTTPS_MEM_KEY,
* #MHD_OPTION_HTTPS_MEM_CERT, #MHD_OPTION_HTTPS_MEM_TRUST
* #MHD_OPTION_HTTPS_CRED_TYPE, #MHD_OPTION_HTTPS_PRIORITIES
* can be used.
* #MHD_OPTION_HTTPS_MEM_CERT, #MHD_OPTION_HTTPS_MEM_TRUST,
* #MHD_OPTION_HTTPS_MEM_DHPARAMS, #MHD_OPTION_HTTPS_CRED_TYPE,
* #MHD_OPTION_HTTPS_PRIORITIES can be used.
*/
MHD_FEATURE_SSL = 2,
+1 -1
View File
@@ -4411,7 +4411,7 @@ FUNC_CONSTRUCTOR (MHD_init) ()
#endif
#if HTTPS_SUPPORT
#if GCRYPT_VERSION_NUMBER < 0x010600
if (!gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread))
if (0 != gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread))
MHD_PANIC ("Failed to initialise multithreading in libgcrypt\n");
gcry_check_version (NULL);
#else