Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#include <unistd.h>
#include <netdb.h>
#include <fcntl.h>
#if AISL_WITH_SSL == 1
#include <openssl/ssl.h>
#endif

#ifdef __APPLE__
#include <sys/ioctl.h>
Expand Down
2 changes: 2 additions & 0 deletions src/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
* Distributed under terms of the MIT license.
*/

#if AISL_WITH_SSL == 1
#include <openssl/err.h>
#endif
#include "str-utils.h"
#include "instance.h"
#include "ssl.h"
Expand Down
3 changes: 2 additions & 1 deletion src/ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

#include <aisl/config.h>
#include <aisl/types.h>
#if AISL_WITH_SSL == 1
#include <openssl/ssl.h>


struct aisl_ssl {
char *key_file;
char *crt_file;
Expand All @@ -50,5 +50,6 @@ aisl_ssl_get_ctx(struct aisl_ssl *ssl, void *p_instance);
void
aisl_ssl_free(struct aisl_ssl *ssl);

#endif

#endif /* !AISL_SSL_H */