diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-05 12:53:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-05 12:53:16 +0000 |
commit | 9b2289ae1966338c77ccea5c299a024bac53adef (patch) | |
tree | 1bba4d20cfb86aef587fe4deb07e41e136efcef1 /src/microhttpd/internal.h | |
parent | 9f4f203e80087010d42e03514df05d923f8c37db (diff) | |
download | libmicrohttpd-9b2289ae1966338c77ccea5c299a024bac53adef.tar.gz libmicrohttpd-9b2289ae1966338c77ccea5c299a024bac53adef.zip |
fixing build errors if new upgrade logic is compiled without HTTPS support
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index eece8eba..17f44c64 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -875,7 +875,6 @@ struct MHD_Connection | |||
875 | */ | 875 | */ |
876 | struct MHD_UpgradeResponseHandle *urh; | 876 | struct MHD_UpgradeResponseHandle *urh; |
877 | 877 | ||
878 | #if HTTPS_SUPPORT | ||
879 | /** | 878 | /** |
880 | * If this connection was upgraded and if we are using | 879 | * If this connection was upgraded and if we are using |
881 | * #MHD_USE_THREAD_PER_CONNECTION without encryption, | 880 | * #MHD_USE_THREAD_PER_CONNECTION without encryption, |
@@ -884,6 +883,8 @@ struct MHD_Connection | |||
884 | */ | 883 | */ |
885 | struct MHD_Semaphore *upgrade_sem; | 884 | struct MHD_Semaphore *upgrade_sem; |
886 | 885 | ||
886 | #if HTTPS_SUPPORT | ||
887 | |||
887 | /** | 888 | /** |
888 | * State required for HTTPS/SSL/TLS support. | 889 | * State required for HTTPS/SSL/TLS support. |
889 | */ | 890 | */ |