projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8179c
)
-work around MHD_USE_TLS not being in old MHD versions
author
Christian Grothoff
<christian@grothoff.org>
Wed, 12 Oct 2016 15:34:23 +0000
(15:34 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 12 Oct 2016 15:34:23 +0000
(15:34 +0000)
src/include/gnunet_common.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index dcd0c605685697ebbd7e8054ba7d3b363c7a7ddb..4a5051c531a4d5427810266aa82001fd4794f600 100644
(file)
--- a/
src/include/gnunet_common.h
+++ b/
src/include/gnunet_common.h
@@
-68,6
+68,11
@@
extern "C"
*/
#define GNUNET_UTIL_VERSION 0x000A0101
+/* support old MHD versions */
+#ifndef MHD_USE_TLS
+#define MHD_USE_TLS MHD_USE_SSL
+#endif
+
/**
* Named constants for return values. The following invariants hold: