diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 86017f1e..53b2cee7 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -547,7 +547,7 @@ MHD_init_daemon_certificate (struct MHD_Daemon *daemon) | |||
547 | cert.size = strlen (daemon->https_mem_cert); | 547 | cert.size = strlen (daemon->https_mem_cert); |
548 | 548 | ||
549 | if (NULL != daemon->https_key_password) { | 549 | if (NULL != daemon->https_key_password) { |
550 | #if GNUTLS_VERSION_NUMBER >= 0x030100 | 550 | #if GNUTLS_VERSION_NUMBER >= 0x030111 |
551 | ret = gnutls_certificate_set_x509_key_mem2 (daemon->x509_cred, | 551 | ret = gnutls_certificate_set_x509_key_mem2 (daemon->x509_cred, |
552 | &cert, &key, | 552 | &cert, &key, |
553 | GNUTLS_X509_FMT_PEM, | 553 | GNUTLS_X509_FMT_PEM, |
@@ -4745,7 +4745,7 @@ MHD_is_feature_supported(enum MHD_FEATURE feature) | |||
4745 | return MHD_NO; | 4745 | return MHD_NO; |
4746 | #endif | 4746 | #endif |
4747 | case MHD_FEATURE_HTTPS_KEY_PASSWORD: | 4747 | case MHD_FEATURE_HTTPS_KEY_PASSWORD: |
4748 | #if HTTPS_SUPPORT && GNUTLS_VERSION_NUMBER >= 0x030100 | 4748 | #if HTTPS_SUPPORT && GNUTLS_VERSION_NUMBER >= 0x030111 |
4749 | return MHD_YES; | 4749 | return MHD_YES; |
4750 | #else | 4750 | #else |
4751 | return MHD_NO; | 4751 | return MHD_NO; |