build without SSL

This commit is contained in:
David Rose 2002-09-25 22:01:37 +00:00
parent 88ad844981
commit 74f458b674
3 changed files with 10 additions and 0 deletions

View File

@ -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
}

View File

@ -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

View File

@ -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