Browse code

tls_wolfssl: renamed tls_mod.{c,h} to tls_wolfssl_mod.{c,h}

- main files of the module to match module name

Daniel-Constantin Mierla authored on 16/06/2022 07:17:06
Showing 10 changed files
... ...
@@ -25,7 +25,7 @@
25 25
 
26 26
 #include "tls_config.h"
27 27
 #include "tls_domain.h"
28
-#include "tls_mod.h"
28
+#include "tls_wolfssl_mod.h"
29 29
 #include "tls_util.h"
30 30
 
31 31
 #include "../../core/cfg_parser.h"
... ...
@@ -38,7 +38,7 @@
38 38
 #include "tls_config.h"
39 39
 #include "tls_server.h"
40 40
 #include "tls_util.h"
41
-#include "tls_mod.h"
41
+#include "tls_wolfssl_mod.h"
42 42
 #include "tls_init.h"
43 43
 #include "tls_domain.h"
44 44
 #include "tls_cfg.h"
... ...
@@ -36,7 +36,7 @@
36 36
 #include <wolfssl/options.h>
37 37
 #include <wolfssl/ssl.h>
38 38
 #include "../../core/dprint.h"
39
-#include "tls_mod.h"
39
+#include "tls_wolfssl_mod.h"
40 40
 #include "tls_cfg.h"
41 41
 
42 42
 /** log the verification failure reason.
... ...
@@ -55,7 +55,7 @@
55 55
 #include "tls_verify.h"
56 56
 #include "tls_domain.h"
57 57
 #include "tls_util.h"
58
-#include "tls_mod.h"
58
+#include "tls_wolfssl_mod.h"
59 59
 #include "tls_init.h"
60 60
 #include "tls_ct_wrq.h"
61 61
 #include "tls_cfg.h"
... ...
@@ -32,7 +32,7 @@
32 32
 #include "../../core/cfg/cfg.h"
33 33
 #include "../../core/dprint.h"
34 34
 #include "tls_init.h"
35
-#include "tls_mod.h"
35
+#include "tls_wolfssl_mod.h"
36 36
 #include "tls_domain.h"
37 37
 #include "tls_config.h"
38 38
 #include "tls_util.h"
... ...
@@ -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 */
... ...
@@ -56,7 +56,7 @@
56 56
 #include "tls_init.h"
57 57
 #include "tls_domain.h"
58 58
 #include "tls_util.h"
59
-#include "tls_mod.h"
59
+#include "tls_wolfssl_mod.h"
60 60
 #include "tls_server.h"
61 61
 #include "tls_select.h"
62 62
 #include "tls_bio.h"
... ...
@@ -32,7 +32,7 @@
32 32
 #include "../../core/mem/shm_mem.h"
33 33
 #include "../../core/globals.h"
34 34
 #include "../../core/dprint.h"
35
-#include "tls_mod.h"
35
+#include "tls_wolfssl_mod.h"
36 36
 #include "tls_util.h"
37 37
 
38 38
 
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 */