config.h | config.h | |||
---|---|---|---|---|
skipping to change at line 164 | skipping to change at line 164 | |||
* | * | |||
* This enables the following ciphersuites: | * This enables the following ciphersuites: | |||
* TLS_RSA_WITH_DES_CBC_SHA | * TLS_RSA_WITH_DES_CBC_SHA | |||
* TLS_DHE_RSA_WITH_DES_CBC_SHA | * TLS_DHE_RSA_WITH_DES_CBC_SHA | |||
* | * | |||
* Uncomment this macro to enable weak ciphersuites | * Uncomment this macro to enable weak ciphersuites | |||
#define POLARSSL_ENABLE_WEAK_CIPHERSUITES | #define POLARSSL_ENABLE_WEAK_CIPHERSUITES | |||
*/ | */ | |||
/** | /** | |||
* \def POLARSSL_ERROR_STRERROR_DUMMY | ||||
* | ||||
* Enable a dummy error function to make use of error_strerror() in | ||||
* third party libraries easier. | ||||
* | ||||
* Disable if you run into name conflicts and want to really remove the | ||||
* error_strerror() | ||||
*/ | ||||
#define POLARSSL_ERROR_STRERROR_DUMMY | ||||
/** | ||||
* \def POLARSSL_GENPRIME | * \def POLARSSL_GENPRIME | |||
* | * | |||
* Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C | * Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C | |||
* | * | |||
* Enable the RSA prime-number generation code. | * Enable the RSA prime-number generation code. | |||
*/ | */ | |||
#define POLARSSL_GENPRIME | #define POLARSSL_GENPRIME | |||
/** | /** | |||
* \def POLARSSL_FS_IO | * \def POLARSSL_FS_IO | |||
skipping to change at line 231 | skipping to change at line 242 | |||
*/ | */ | |||
/** | /** | |||
* \def POLARSSL_SELF_TEST | * \def POLARSSL_SELF_TEST | |||
* | * | |||
* Enable the checkup functions (*_self_test). | * Enable the checkup functions (*_self_test). | |||
*/ | */ | |||
#define POLARSSL_SELF_TEST | #define POLARSSL_SELF_TEST | |||
/** | /** | |||
* \def POLARSSL_SSL_ALL_ALERT_MESSAGES | ||||
* | ||||
* Enable sending of alert messages in case of encountered errors as per RF | ||||
C. | ||||
* If you choose not to send the alert messages, PolarSSL can still communi | ||||
cate | ||||
* with other servers, only debugging of failures is harder. | ||||
* | ||||
* The advantage of not sending alert messages, is that no information is g | ||||
iven | ||||
* about reasons for failures thus preventing adversaries of gaining intel. | ||||
* | ||||
* Enable sending of all alert messages | ||||
*/ | ||||
#define POLARSSL_SSL_ALERT_MESSAGES | ||||
/** | ||||
* \def POLARSSL_SSL_DEBUG_ALL | ||||
* | ||||
* Enable the debug messages in SSL module for all issues. | ||||
* Debug messages have been disabled in some places to prevent timing | ||||
* attacks due to (unbalanced) debugging function calls. | ||||
* | ||||
* If you need all error reporting you should enable this during debugging, | ||||
* but remove this for production servers that should log as well. | ||||
* | ||||
* Uncomment this macro to report all debug messages on errors introducing | ||||
* a timing side-channel. | ||||
* | ||||
#define POLARSSL_SSL_DEBUG_ALL | ||||
*/ | ||||
/** | ||||
* \def POLARSSL_SSL_HW_RECORD_ACCEL | * \def POLARSSL_SSL_HW_RECORD_ACCEL | |||
* | * | |||
* Enable hooking functions in SSL module for hardware acceleration of | * Enable hooking functions in SSL module for hardware acceleration of | |||
* individual records. | * individual records. | |||
* | * | |||
* Uncomment this macro to enable hooking functions. | * Uncomment this macro to enable hooking functions. | |||
#define POLARSSL_SSL_HW_RECORD_ACCEL | #define POLARSSL_SSL_HW_RECORD_ACCEL | |||
*/ | */ | |||
/** | /** | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 44 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 42 | skipping to change at line 42 | |||
#define POLARSSL_VERSION_H | #define POLARSSL_VERSION_H | |||
#include "config.h" | #include "config.h" | |||
/** | /** | |||
* The version number x.y.z is split into three parts. | * The version number x.y.z is split into three parts. | |||
* Major, Minor, Patchlevel | * Major, Minor, Patchlevel | |||
*/ | */ | |||
#define POLARSSL_VERSION_MAJOR 1 | #define POLARSSL_VERSION_MAJOR 1 | |||
#define POLARSSL_VERSION_MINOR 2 | #define POLARSSL_VERSION_MINOR 2 | |||
#define POLARSSL_VERSION_PATCH 4 | #define POLARSSL_VERSION_PATCH 5 | |||
/** | /** | |||
* The single version number has the following structure: | * The single version number has the following structure: | |||
* MMNNPP00 | * MMNNPP00 | |||
* Major version | Minor version | Patch version | * Major version | Minor version | Patch version | |||
*/ | */ | |||
#define POLARSSL_VERSION_NUMBER 0x01020400 | #define POLARSSL_VERSION_NUMBER 0x01020500 | |||
#define POLARSSL_VERSION_STRING "1.2.4" | #define POLARSSL_VERSION_STRING "1.2.5" | |||
#define POLARSSL_VERSION_STRING_FULL "PolarSSL 1.2.4" | #define POLARSSL_VERSION_STRING_FULL "PolarSSL 1.2.5" | |||
#if defined(POLARSSL_VERSION_C) | #if defined(POLARSSL_VERSION_C) | |||
/** | /** | |||
* Get the version number. | * Get the version number. | |||
* | * | |||
* \return The constructed version number in the format | * \return The constructed version number in the format | |||
* MMNNPP00 (Major, Minor, Patch). | * MMNNPP00 (Major, Minor, Patch). | |||
*/ | */ | |||
unsigned int version_get_number( void ); | unsigned int version_get_number( void ); | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||