|
@@ -1,8 +1,7 @@
|
|
-
|
|
|
|
Adding CyaSSL Support
|
|
Adding CyaSSL Support
|
|
=====
|
|
=====
|
|
|
|
|
|
-## Only required for Windows!
|
|
|
|
|
|
+### Only required for Windows!
|
|
|
|
|
|
In order to support SSL *HTTPS* connections in Civetweb on Windows,
|
|
In order to support SSL *HTTPS* connections in Civetweb on Windows,
|
|
your will have to use the GPLv2 licensed CyaSSL library. By using this
|
|
your will have to use the GPLv2 licensed CyaSSL library. By using this
|
|
@@ -23,65 +22,65 @@ If you download to cyaSSL to cyassl-2.7.0 in a directory parallel to with Civetw
|
|
Build Configuration
|
|
Build Configuration
|
|
----
|
|
----
|
|
|
|
|
|
-## Required include paths for both civetweb and cyassl
|
|
|
|
-> *cyassl_directory*\
|
|
|
|
-> *cyassl_directory*\cyassl\
|
|
|
|
-
|
|
|
|
-## Required civetweb preprocessor defines
|
|
|
|
-> USE_YASSL
|
|
|
|
-> NO_SSL_DL
|
|
|
|
-
|
|
|
|
-## Required cySSL preprocessor defines
|
|
|
|
-> OPENSSL_EXTRA
|
|
|
|
-> HAVE_ERRNO_H
|
|
|
|
-> HAVE_GETHOSTBYNAME
|
|
|
|
-> HAVE_INET_NTOA
|
|
|
|
-> HAVE_LIMITS_H
|
|
|
|
-> HAVE_MEMSET
|
|
|
|
-> HAVE_SOCKET
|
|
|
|
-> HAVE_STDDEF_H
|
|
|
|
-> HAVE_STDLIB_H
|
|
|
|
-> HAVE_STRING_H
|
|
|
|
-> HAVE_SYS_STAT_H
|
|
|
|
-> HAVE_SYS_TYPES_H
|
|
|
|
-
|
|
|
|
-## Required CyaSSL source files
|
|
|
|
-
|
|
|
|
-> ctaocrypt/src/aes.c
|
|
|
|
-> ctaocrypt/src/arc4.c
|
|
|
|
-> ctaocrypt/src/asn.c
|
|
|
|
-> ctaocrypt/src/coding.c
|
|
|
|
-> ctaocrypt/src/des3.c
|
|
|
|
-> ctaocrypt/src/dh.c
|
|
|
|
-> ctaocrypt/src/dsa.c
|
|
|
|
-> ctaocrypt/src/ecc.c
|
|
|
|
-> ctaocrypt/src/error.c
|
|
|
|
-> ctaocrypt/src/hc128.c
|
|
|
|
-> ctaocrypt/src/hmac.c
|
|
|
|
-> ctaocrypt/src/integer.c
|
|
|
|
-> ctaocrypt/src/logging.c
|
|
|
|
-> ctaocrypt/src/md2.c
|
|
|
|
-> ctaocrypt/src/md4.c
|
|
|
|
-> ctaocrypt/src/md5.c
|
|
|
|
-> ctaocrypt/src/memory.c
|
|
|
|
-> ctaocrypt/src/misc.c
|
|
|
|
-> ctaocrypt/src/pwdbased.c
|
|
|
|
-> ctaocrypt/src/rabbit.c
|
|
|
|
-> ctaocrypt/src/random.c
|
|
|
|
-> ctaocrypt/src/ripemd.c
|
|
|
|
-> ctaocrypt/src/rsa.c
|
|
|
|
-> ctaocrypt/src/sha.c
|
|
|
|
-> ctaocrypt/src/sha256.c
|
|
|
|
-> ctaocrypt/src/sha512.c
|
|
|
|
-> ctaocrypt/src/tfm.c
|
|
|
|
-> src/crl.c
|
|
|
|
-> src/internal.c
|
|
|
|
-> src/io.c
|
|
|
|
-> src/keys.c
|
|
|
|
-> src/ocsp.c
|
|
|
|
-> src/sniffer.c
|
|
|
|
-> src/ssl.c
|
|
|
|
-> src/tls.c
|
|
|
|
|
|
+#### Required include paths for both civetweb and cyassl
|
|
|
|
+ - *cyassl_directory*\
|
|
|
|
+ - *cyassl_directory*\cyassl\
|
|
|
|
+
|
|
|
|
+#### Required civetweb preprocessor defines
|
|
|
|
+ - USE_YASSL
|
|
|
|
+ - NO_SSL_DL
|
|
|
|
+
|
|
|
|
+#### Required cySSL preprocessor defines
|
|
|
|
+ - OPENSSL_EXTRA
|
|
|
|
+ - HAVE_ERRNO_H
|
|
|
|
+ - HAVE_GETHOSTBYNAME
|
|
|
|
+ - HAVE_INET_NTOA
|
|
|
|
+ - HAVE_LIMITS_H
|
|
|
|
+ - HAVE_MEMSET
|
|
|
|
+ - HAVE_SOCKET
|
|
|
|
+ - HAVE_STDDEF_H
|
|
|
|
+ - HAVE_STDLIB_H
|
|
|
|
+ - HAVE_STRING_H
|
|
|
|
+ - HAVE_SYS_STAT_H
|
|
|
|
+ - HAVE_SYS_TYPES_H
|
|
|
|
+
|
|
|
|
+#### Required CyaSSL source files
|
|
|
|
+
|
|
|
|
+ - ctaocrypt/src/aes.c
|
|
|
|
+ - ctaocrypt/src/arc4.c
|
|
|
|
+ - ctaocrypt/src/asn.c
|
|
|
|
+ - ctaocrypt/src/coding.c
|
|
|
|
+ - ctaocrypt/src/des3.c
|
|
|
|
+ - ctaocrypt/src/dh.c
|
|
|
|
+ - ctaocrypt/src/dsa.c
|
|
|
|
+ - ctaocrypt/src/ecc.c
|
|
|
|
+ - ctaocrypt/src/error.c
|
|
|
|
+ - ctaocrypt/src/hc128.c
|
|
|
|
+ - ctaocrypt/src/hmac.c
|
|
|
|
+ - ctaocrypt/src/integer.c
|
|
|
|
+ - ctaocrypt/src/logging.c
|
|
|
|
+ - ctaocrypt/src/md2.c
|
|
|
|
+ - ctaocrypt/src/md4.c
|
|
|
|
+ - ctaocrypt/src/md5.c
|
|
|
|
+ - ctaocrypt/src/memory.c
|
|
|
|
+ - ctaocrypt/src/misc.c
|
|
|
|
+ - ctaocrypt/src/pwdbased.c
|
|
|
|
+ - ctaocrypt/src/rabbit.c
|
|
|
|
+ - ctaocrypt/src/random.c
|
|
|
|
+ - ctaocrypt/src/ripemd.c
|
|
|
|
+ - ctaocrypt/src/rsa.c
|
|
|
|
+ - ctaocrypt/src/sha.c
|
|
|
|
+ - ctaocrypt/src/sha256.c
|
|
|
|
+ - ctaocrypt/src/sha512.c
|
|
|
|
+ - ctaocrypt/src/tfm.c
|
|
|
|
+ - src/crl.c
|
|
|
|
+ - src/internal.c
|
|
|
|
+ - src/io.c
|
|
|
|
+ - src/keys.c
|
|
|
|
+ - src/ocsp.c
|
|
|
|
+ - src/sniffer.c
|
|
|
|
+ - src/ssl.c
|
|
|
|
+ - src/tls.c
|
|
|
|
|
|
|
|
|
|
|
|
|