commit a90ba78c016404a02eb9c81a9fd82694e00b10fb
parent dc5610c14b93a2fe82758ec228926ba6f04eee17
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 11 Oct 2016 16:08:34 +0000
deprecate USE_SSL for USE_TLS
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -538,15 +538,15 @@ enum MHD_FLAG
MHD_USE_DEBUG = 1,
/**
- * Run in HTTPS mode. Same as #MHD_USE_TLS, just using the historic name.
- */
- MHD_USE_SSL = 2,
-
- /**
* Run in HTTPS mode. The modern protocol is called TLS.
*/
MHD_USE_TLS = 2,
+ /** @deprecated */
+#define MHD_USE_SSL \
+ _MHD_DEPR_IN_MACRO("Value MHD_USE_SSL is deprecated, use MHD_USE_TLS") \
+ MHD_USE_TLS
+
/**
* Run using one thread per connection.
*/