fix non-ssl build

This commit is contained in:
John
2023-11-11 10:19:03 +01:00
parent bceeb5f4f9
commit 15de49cab1
6 changed files with 24 additions and 17 deletions
+3 -3
View File
@@ -32,7 +32,7 @@
# include <openssl/ssl.h>
# include <openssl/bio.h>
# include <openssl/err.h>
#endif
#endif // HAVE_SSL
/** typedef for referencing @a sockaddr_in within namespace. */
typedef struct sockaddr_in socketaddress;
@@ -122,7 +122,7 @@ class HttpClient {
HttpClient() :
#ifdef HAVE_SSL
m_https(false),
#endif
#endif // HAVE_SSL
m_socket(nullptr), m_port(0), m_timeout(0), m_bufferSize(0), m_buffer(nullptr) {
}
@@ -250,7 +250,7 @@ class HttpClient {
/** the path with CA files to use. */
static const char* s_caPath;
#endif
#endif // HAVE_SSL
/** the currently connected socket. */
SocketClass* m_socket;