build without SSL
This commit is contained in:
parent
88ad844981
commit
74f458b674
|
|
@ -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"
|
||||
|
||||
#ifdef HAVE_SSL
|
||||
|
||||
#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"
|
||||
|
||||
#ifdef HAVE_SSL
|
||||
|
||||
TypeHandle HTTPDocument::_type_handle;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -253,3 +255,5 @@ read_headers() {
|
|||
|
||||
// A blank line terminates the headers.
|
||||
}
|
||||
|
||||
#endif // HAVE_SSL
|
||||
|
|
|
|||
Loading…
Reference in New Issue