From c0b89ac5bfb90835ef01573267020e42d4fe070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 23 Aug 2015 12:17:05 +0200 Subject: Imported Upstream version 1.8.0 --- ccast/axTLS/Jamfile | 2 -- ccast/axTLS/aes.c | 0 ccast/axTLS/asn1.c | 0 ccast/axTLS/axTLS_config.h | 41 +++++++++++++++++++++++++++++++++++++++++ ccast/axTLS/axTLS_version.h | 1 + ccast/axTLS/bigint.c | 0 ccast/axTLS/bigint.h | 0 ccast/axTLS/bigint_impl.h | 0 ccast/axTLS/cert.h | 0 ccast/axTLS/config.h | 41 ----------------------------------------- ccast/axTLS/crypto.h | 2 +- ccast/axTLS/crypto_misc.c | 0 ccast/axTLS/crypto_misc.h | 0 ccast/axTLS/gen_cert.c | 2 +- ccast/axTLS/hmac.c | 0 ccast/axTLS/loader.c | 0 ccast/axTLS/md2.c | 0 ccast/axTLS/md5.c | 0 ccast/axTLS/openssl.c | 2 +- ccast/axTLS/os_int.h | 3 ++- ccast/axTLS/os_port.c | 0 ccast/axTLS/os_port.h | 0 ccast/axTLS/p12.c | 0 ccast/axTLS/private_key.h | 0 ccast/axTLS/rc4.c | 0 ccast/axTLS/rsa.c | 0 ccast/axTLS/sha1.c | 0 ccast/axTLS/ssl.h | 0 ccast/axTLS/temp | 0 ccast/axTLS/tls1.c | 0 ccast/axTLS/tls1.h | 4 ++-- ccast/axTLS/tls1_clnt.c | 0 ccast/axTLS/tls1_svr.c | 0 ccast/axTLS/version.h | 1 - ccast/axTLS/x509.c | 0 35 files changed, 49 insertions(+), 50 deletions(-) mode change 100644 => 100755 ccast/axTLS/Jamfile mode change 100644 => 100755 ccast/axTLS/aes.c mode change 100644 => 100755 ccast/axTLS/asn1.c create mode 100755 ccast/axTLS/axTLS_config.h create mode 100755 ccast/axTLS/axTLS_version.h mode change 100644 => 100755 ccast/axTLS/bigint.c mode change 100644 => 100755 ccast/axTLS/bigint.h mode change 100644 => 100755 ccast/axTLS/bigint_impl.h mode change 100644 => 100755 ccast/axTLS/cert.h delete mode 100644 ccast/axTLS/config.h mode change 100644 => 100755 ccast/axTLS/crypto.h mode change 100644 => 100755 ccast/axTLS/crypto_misc.c mode change 100644 => 100755 ccast/axTLS/crypto_misc.h mode change 100644 => 100755 ccast/axTLS/gen_cert.c mode change 100644 => 100755 ccast/axTLS/hmac.c mode change 100644 => 100755 ccast/axTLS/loader.c mode change 100644 => 100755 ccast/axTLS/md2.c mode change 100644 => 100755 ccast/axTLS/md5.c mode change 100644 => 100755 ccast/axTLS/openssl.c mode change 100644 => 100755 ccast/axTLS/os_int.h mode change 100644 => 100755 ccast/axTLS/os_port.c mode change 100644 => 100755 ccast/axTLS/os_port.h mode change 100644 => 100755 ccast/axTLS/p12.c mode change 100644 => 100755 ccast/axTLS/private_key.h mode change 100644 => 100755 ccast/axTLS/rc4.c mode change 100644 => 100755 ccast/axTLS/rsa.c mode change 100644 => 100755 ccast/axTLS/sha1.c mode change 100644 => 100755 ccast/axTLS/ssl.h mode change 100644 => 100755 ccast/axTLS/temp mode change 100644 => 100755 ccast/axTLS/tls1.c mode change 100644 => 100755 ccast/axTLS/tls1.h mode change 100644 => 100755 ccast/axTLS/tls1_clnt.c mode change 100644 => 100755 ccast/axTLS/tls1_svr.c delete mode 100644 ccast/axTLS/version.h mode change 100644 => 100755 ccast/axTLS/x509.c (limited to 'ccast/axTLS') diff --git a/ccast/axTLS/Jamfile b/ccast/axTLS/Jamfile old mode 100644 new mode 100755 index 2e8b027..9a8aff4 --- a/ccast/axTLS/Jamfile +++ b/ccast/axTLS/Jamfile @@ -3,11 +3,9 @@ PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on #PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; -# Copy the configuration file if $(NT) { DEFINES += WIN32 ; } else { -# File conf.h : tiffconf.vc.h ; if $(OS) = MACOSX { } else if $(OS) = FREEBSD { } else { diff --git a/ccast/axTLS/aes.c b/ccast/axTLS/aes.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/asn1.c b/ccast/axTLS/asn1.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/axTLS_config.h b/ccast/axTLS/axTLS_config.h new file mode 100755 index 0000000..ffda4e3 --- /dev/null +++ b/ccast/axTLS/axTLS_config.h @@ -0,0 +1,41 @@ + +#ifdef NT +//# define CONFIG_WIN32_USE_CRYPTO_LIB +#endif + +//CONFIG_SSL_SERVER_ONLY +//CONFIG_SSL_CERT_VERIFICATION +#define CONFIG_SSL_ENABLE_CLIENT +//CONFIG_SSL_FULL_MODE +#define CONFIG_SSL_PROT_MEDIUM +#define CONFIG_SSL_USE_DEFAULT_KEY +#define CONFIG_SSL_PRIVATE_KEY_LOCATION "" +#define CONFIG_SSL_PRIVATE_KEY_PASSWORD "" +#define CONFIG_SSL_X509_CERT_LOCATION "" +//CONFIG_SSL_GENERATE_X509_CERT +//CONFIG_SSL_X509_COMMON_NAME="" +//CONFIG_SSL_X509_ORGANIZATION_NAME="" +//CONFIG_SSL_X509_ORGANIZATION_UNIT_NAME="" +//CONFIG_SSL_ENABLE_V23_HANDSHAKE +#define CONFIG_SSL_HAS_PEM +#define CONFIG_SSL_USE_PKCS12 +#define CONFIG_SSL_EXPIRY_TIME 24 +#define CONFIG_X509_MAX_CA_CERTS 4 +#define CONFIG_SSL_MAX_CERTS 2 +// CONFIG_SSL_CTX_MUTEXING +// CONFIG_USE_DEV_URANDOM +// CONFIG_OPENSSL_COMPATIBLE +// CONFIG_PERFORMANCE_TESTING +// CONFIG_SSL_TEST is not set + +// CONFIG_BIGINT_CLASSICAL +// CONFIG_BIGINT_MONTGOMERY +#define CONFIG_BIGINT_BARRETT +#define CONFIG_BIGINT_CRT +// CONFIG_BIGINT_KARATSUBA is not set +#define MUL_KARATSUBA_THRESH 0 +#define SQU_KARATSUBA_THRESH 0 +#define CONFIG_BIGINT_SLIDING_WINDOW +#define CONFIG_BIGINT_SQUARE +// CONFIG_BIGINT_CHECK_ON + diff --git a/ccast/axTLS/axTLS_version.h b/ccast/axTLS/axTLS_version.h new file mode 100755 index 0000000..e8158cc --- /dev/null +++ b/ccast/axTLS/axTLS_version.h @@ -0,0 +1 @@ +#define AXTLS_VERSION "1.4.9" diff --git a/ccast/axTLS/bigint.c b/ccast/axTLS/bigint.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/bigint.h b/ccast/axTLS/bigint.h old mode 100644 new mode 100755 diff --git a/ccast/axTLS/bigint_impl.h b/ccast/axTLS/bigint_impl.h old mode 100644 new mode 100755 diff --git a/ccast/axTLS/cert.h b/ccast/axTLS/cert.h old mode 100644 new mode 100755 diff --git a/ccast/axTLS/config.h b/ccast/axTLS/config.h deleted file mode 100644 index ffda4e3..0000000 --- a/ccast/axTLS/config.h +++ /dev/null @@ -1,41 +0,0 @@ - -#ifdef NT -//# define CONFIG_WIN32_USE_CRYPTO_LIB -#endif - -//CONFIG_SSL_SERVER_ONLY -//CONFIG_SSL_CERT_VERIFICATION -#define CONFIG_SSL_ENABLE_CLIENT -//CONFIG_SSL_FULL_MODE -#define CONFIG_SSL_PROT_MEDIUM -#define CONFIG_SSL_USE_DEFAULT_KEY -#define CONFIG_SSL_PRIVATE_KEY_LOCATION "" -#define CONFIG_SSL_PRIVATE_KEY_PASSWORD "" -#define CONFIG_SSL_X509_CERT_LOCATION "" -//CONFIG_SSL_GENERATE_X509_CERT -//CONFIG_SSL_X509_COMMON_NAME="" -//CONFIG_SSL_X509_ORGANIZATION_NAME="" -//CONFIG_SSL_X509_ORGANIZATION_UNIT_NAME="" -//CONFIG_SSL_ENABLE_V23_HANDSHAKE -#define CONFIG_SSL_HAS_PEM -#define CONFIG_SSL_USE_PKCS12 -#define CONFIG_SSL_EXPIRY_TIME 24 -#define CONFIG_X509_MAX_CA_CERTS 4 -#define CONFIG_SSL_MAX_CERTS 2 -// CONFIG_SSL_CTX_MUTEXING -// CONFIG_USE_DEV_URANDOM -// CONFIG_OPENSSL_COMPATIBLE -// CONFIG_PERFORMANCE_TESTING -// CONFIG_SSL_TEST is not set - -// CONFIG_BIGINT_CLASSICAL -// CONFIG_BIGINT_MONTGOMERY -#define CONFIG_BIGINT_BARRETT -#define CONFIG_BIGINT_CRT -// CONFIG_BIGINT_KARATSUBA is not set -#define MUL_KARATSUBA_THRESH 0 -#define SQU_KARATSUBA_THRESH 0 -#define CONFIG_BIGINT_SLIDING_WINDOW -#define CONFIG_BIGINT_SQUARE -// CONFIG_BIGINT_CHECK_ON - diff --git a/ccast/axTLS/crypto.h b/ccast/axTLS/crypto.h old mode 100644 new mode 100755 index 8a314a3..bf2c187 --- a/ccast/axTLS/crypto.h +++ b/ccast/axTLS/crypto.h @@ -39,7 +39,7 @@ extern "C" { #endif -#include "config.h" +#include "axTLS_config.h" #include "bigint_impl.h" #include "bigint.h" diff --git a/ccast/axTLS/crypto_misc.c b/ccast/axTLS/crypto_misc.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/crypto_misc.h b/ccast/axTLS/crypto_misc.h old mode 100644 new mode 100755 diff --git a/ccast/axTLS/gen_cert.c b/ccast/axTLS/gen_cert.c old mode 100644 new mode 100755 index d5cb4d5..fa22c4e --- a/ccast/axTLS/gen_cert.c +++ b/ccast/axTLS/gen_cert.c @@ -28,7 +28,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" +#include "axTLS_config.h" #ifdef CONFIG_SSL_GENERATE_X509_CERT #include diff --git a/ccast/axTLS/hmac.c b/ccast/axTLS/hmac.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/loader.c b/ccast/axTLS/loader.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/md2.c b/ccast/axTLS/md2.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/md5.c b/ccast/axTLS/md5.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/openssl.c b/ccast/axTLS/openssl.c old mode 100644 new mode 100755 index e700436..e3f8972 --- a/ccast/axTLS/openssl.c +++ b/ccast/axTLS/openssl.c @@ -36,7 +36,7 @@ * port is. */ -#include "config.h" +#include "axTLS_config.h" #ifdef CONFIG_OPENSSL_COMPATIBLE #include diff --git a/ccast/axTLS/os_int.h b/ccast/axTLS/os_int.h old mode 100644 new mode 100755 index 4918111..8ae5878 --- a/ccast/axTLS/os_int.h +++ b/ccast/axTLS/os_int.h @@ -33,7 +33,8 @@ extern "C" { #if (__STDC_VERSION__ >= 199901L) /* C99 */ \ || defined(_STDINT_H_) || defined(_STDINT_H) \ - || defined(_SYS_TYPES_H) + || defined(_SYS_TYPES_H) \ + || (defined(__APPLE__) && defined(__POWERPC__)) #include diff --git a/ccast/axTLS/os_port.c b/ccast/axTLS/os_port.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/os_port.h b/ccast/axTLS/os_port.h old mode 100644 new mode 100755 diff --git a/ccast/axTLS/p12.c b/ccast/axTLS/p12.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/private_key.h b/ccast/axTLS/private_key.h old mode 100644 new mode 100755 diff --git a/ccast/axTLS/rc4.c b/ccast/axTLS/rc4.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/rsa.c b/ccast/axTLS/rsa.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/sha1.c b/ccast/axTLS/sha1.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/ssl.h b/ccast/axTLS/ssl.h old mode 100644 new mode 100755 diff --git a/ccast/axTLS/temp b/ccast/axTLS/temp old mode 100644 new mode 100755 diff --git a/ccast/axTLS/tls1.c b/ccast/axTLS/tls1.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/tls1.h b/ccast/axTLS/tls1.h old mode 100644 new mode 100755 index 0086302..14c6382 --- a/ccast/axTLS/tls1.h +++ b/ccast/axTLS/tls1.h @@ -40,8 +40,8 @@ extern "C" { #endif -#include "version.h" -#include "config.h" +#include "axTLS_version.h" +#include "axTLS_config.h" #include "os_int.h" #include "crypto.h" #include "crypto_misc.h" diff --git a/ccast/axTLS/tls1_clnt.c b/ccast/axTLS/tls1_clnt.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/tls1_svr.c b/ccast/axTLS/tls1_svr.c old mode 100644 new mode 100755 diff --git a/ccast/axTLS/version.h b/ccast/axTLS/version.h deleted file mode 100644 index e8158cc..0000000 --- a/ccast/axTLS/version.h +++ /dev/null @@ -1 +0,0 @@ -#define AXTLS_VERSION "1.4.9" diff --git a/ccast/axTLS/x509.c b/ccast/axTLS/x509.c old mode 100644 new mode 100755 -- cgit v1.2.3