@@ -63,5 +63,7 @@ const int patcher_buffer_size =
config_downloader.GetInt("patcher-buffer-size", 4096);
ConfigureFn(config_downloader) {
+#ifdef HAVE_SSL
HTTPDocument::init_type();
+#endif
}
@@ -19,6 +19,8 @@
#include "httpClient.h"
#include "config_downloader.h"
+
#ifndef NDEBUG
#include <openssl/err.h>
#endif
@@ -287,3 +289,5 @@ send_get_request(BIO *bio,
BIO_puts(bio, request_str.c_str());
+#endif // HAVE_SSL
@@ -20,6 +20,8 @@
#include "bioStream.h"
#include "chunkedStream.h"
TypeHandle HTTPDocument::_type_handle;
////////////////////////////////////////////////////////////////////
@@ -253,3 +255,5 @@ read_headers() {
// A blank line terminates the headers.