- main files of the module to match module name
... | ... |
@@ -46,11 +46,11 @@ |
46 | 46 |
#include "../../core/strutils.h" |
47 | 47 |
#include "tls_server.h" |
48 | 48 |
#include "tls_select.h" |
49 |
-#include "tls_mod.h" |
|
49 |
+#include "tls_wolfssl_mod.h" |
|
50 | 50 |
#include "tls_init.h" /* features macros */ |
51 | 51 |
#include "tls_cfg.h" |
52 | 52 |
|
53 |
-// CERT_REVOKED is already defined by wolfSSL |
|
53 |
+// CERT_REVOKED is already defined by wolfSSL |
|
54 | 54 |
enum { |
55 | 55 |
CERT_LOCAL = 1, /* Select local certificate */ |
56 | 56 |
CERT_PEER, /* Select peer certificate */ |
39 | 39 |
similarity index 99% |
40 | 40 |
rename from src/modules/tls_wolfssl/tls_mod.c |
41 | 41 |
rename to src/modules/tls_wolfssl/tls_wolfssl_mod.c |
... | ... |
@@ -51,7 +51,7 @@ |
51 | 51 |
#include "tls_config.h" |
52 | 52 |
#include "tls_rpc.h" |
53 | 53 |
#include "tls_util.h" |
54 |
-#include "tls_mod.h" |
|
54 |
+#include "tls_wolfssl_mod.h" |
|
55 | 55 |
#include "tls_cfg.h" |
56 | 56 |
#include "tls_rand.h" |
57 | 57 |
|
58 | 58 |
similarity index 93% |
59 | 59 |
rename from src/modules/tls_wolfssl/tls_mod.h |
60 | 60 |
rename to src/modules/tls_wolfssl/tls_wolfssl_mod.h |
... | ... |
@@ -23,8 +23,8 @@ |
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 |
-#ifndef _TLS_MOD_H |
|
27 |
-#define _TLS_MOD_H |
|
26 |
+#ifndef _TLS_WOLFSSL_MOD_H |
|
27 |
+#define _TLS_WOLFSSL_MOD_H |
|
28 | 28 |
|
29 | 29 |
#include "../../core/str.h" |
30 | 30 |
#include "../../core/locking.h" |
... | ... |
@@ -42,4 +42,4 @@ extern str tls_domains_cfg_file; |
42 | 42 |
|
43 | 43 |
extern int sr_tls_renegotiation; |
44 | 44 |
|
45 |
-#endif /* _TLS_MOD_H */ |
|
45 |
+#endif /* _TLS_WOLFSSL_MOD_H */ |