]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | Adding wolfSSL (formerly CyaSSL) support |
2 | ===== | |
3 | ||
4 | In order to support SSL *HTTPS* connections in Civetweb, | |
5 | you may wish to use the GPLv2 licensed CyaSSL library. By using this | |
6 | library, the resulting binary may have to have the GPL license unless | |
7 | you buy a commercial license from [wolfSSL](http://www.yassl.com/). | |
8 | ||
9 | *Note: The following instructions have not been checked for the most recent versions of CivetWeb and wolfSSL. Some information might be outdated.* | |
10 | ||
11 | ||
12 | Getting Started | |
13 | ---- | |
14 | ||
15 | - Download Cayssl at https://www.wolfssl.com (formerly http://www.yassl.com/) | |
16 | - Extract the zip file | |
17 | - To make this seemless, extract to a directory parallel to with Civetweb is | |
18 | ||
19 | ### Example Project | |
20 | ||
21 | If you download cyaSSL to cyassl-2.7.0 in a directory parallel to Civetweb, you can open the *VS/civetweb_yassl* solution in Visual Studio. | |
22 | ||
23 | Build Configuration | |
24 | ---- | |
25 | ||
26 | #### Required include paths for both civetweb and cyassl | |
27 | - *cyassl_directory*\ | |
28 | - *cyassl_directory*\cyassl\ | |
29 | ||
30 | #### Required civetweb preprocessor defines | |
31 | - USE_YASSL | |
32 | - NO_SSL_DL | |
33 | ||
34 | #### Required cySSL preprocessor defines | |
35 | - OPENSSL_EXTRA | |
36 | - HAVE_ERRNO_H | |
37 | - HAVE_GETHOSTBYNAME | |
38 | - HAVE_INET_NTOA | |
39 | - HAVE_LIMITS_H | |
40 | - HAVE_MEMSET | |
41 | - HAVE_SOCKET | |
42 | - HAVE_STDDEF_H | |
43 | - HAVE_STDLIB_H | |
44 | - HAVE_STRING_H | |
45 | - HAVE_SYS_STAT_H | |
46 | - HAVE_SYS_TYPES_H | |
47 | ||
48 | #### Required CyaSSL source files | |
49 | ||
50 | - ctaocrypt/src/aes.c | |
51 | - ctaocrypt/src/arc4.c | |
52 | - ctaocrypt/src/asn.c | |
53 | - ctaocrypt/src/coding.c | |
54 | - ctaocrypt/src/des3.c | |
55 | - ctaocrypt/src/dh.c | |
56 | - ctaocrypt/src/dsa.c | |
57 | - ctaocrypt/src/ecc.c | |
58 | - ctaocrypt/src/error.c | |
59 | - ctaocrypt/src/hc128.c | |
60 | - ctaocrypt/src/hmac.c | |
61 | - ctaocrypt/src/integer.c | |
62 | - ctaocrypt/src/logging.c | |
63 | - ctaocrypt/src/md2.c | |
64 | - ctaocrypt/src/md4.c | |
65 | - ctaocrypt/src/md5.c | |
66 | - ctaocrypt/src/memory.c | |
67 | - ctaocrypt/src/misc.c | |
68 | - ctaocrypt/src/pwdbased.c | |
69 | - ctaocrypt/src/rabbit.c | |
70 | - ctaocrypt/src/random.c | |
71 | - ctaocrypt/src/ripemd.c | |
72 | - ctaocrypt/src/rsa.c | |
73 | - ctaocrypt/src/sha.c | |
74 | - ctaocrypt/src/sha256.c | |
75 | - ctaocrypt/src/sha512.c | |
76 | - ctaocrypt/src/tfm.c | |
77 | - src/crl.c | |
78 | - src/internal.c | |
79 | - src/io.c | |
80 | - src/keys.c | |
81 | - src/ocsp.c | |
82 | - src/sniffer.c | |
83 | - src/ssl.c | |
84 | - src/tls.c | |
85 | ||
86 | ||
87 |