mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
SSL build
This commit is contained in:
1 parent
18b1e95350
commit
9624200663
2 files changed
+44
-6
No files matched your search
@@ -116,6 +116,9 @@ typedef struct stat file_stat_t;
|
||||
// Following define gets rid of openssl deprecation messages
|
||||
#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6
|
||||
|
||||
#ifdef USE_CYASSL
|
||||
#include <openssl/ssl.h>
|
||||
#else
|
||||
typedef struct ssl_ctx_st SSL_CTX;
|
||||
typedef struct ssl_st SSL;
|
||||
typedef struct ssl_method_st SSL_METHOD;
|
||||
@@ -135,6 +138,7 @@ extern int SSL_CTX_use_certificate_file(SSL_CTX *, const char *, int);
|
||||
extern int SSL_CTX_use_certificate_chain_file(SSL_CTX *, const char *);
|
||||
extern void SSL_CTX_free(SSL_CTX *);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "mongoose.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user