| gnutls.h (3.3.1) | | gnutls.h (3.3.2) | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| #endif | | #endif | |
| /* Get time_t. */ | | /* Get time_t. */ | |
| #include <time.h> | | #include <time.h> | |
| | | | |
| /* *INDENT-OFF* */ | | /* *INDENT-OFF* */ | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| /* *INDENT-ON* */ | | /* *INDENT-ON* */ | |
| | | | |
|
| #define GNUTLS_VERSION "3.3.1" | | #define GNUTLS_VERSION "3.3.2" | |
| | | | |
| #define GNUTLS_VERSION_MAJOR 3 | | #define GNUTLS_VERSION_MAJOR 3 | |
| #define GNUTLS_VERSION_MINOR 3 | | #define GNUTLS_VERSION_MINOR 3 | |
|
| #define GNUTLS_VERSION_PATCH 1 | | #define GNUTLS_VERSION_PATCH 2 | |
| | | | |
|
| #define GNUTLS_VERSION_NUMBER 0x030301 | | #define GNUTLS_VERSION_NUMBER 0x030302 | |
| | | | |
| #define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC | | #define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC | |
| #define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC | | #define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC | |
| #define GNUTLS_CIPHER_RIJNDAEL_CBC GNUTLS_CIPHER_AES_128_CBC | | #define GNUTLS_CIPHER_RIJNDAEL_CBC GNUTLS_CIPHER_AES_128_CBC | |
| #define GNUTLS_CIPHER_ARCFOUR GNUTLS_CIPHER_ARCFOUR_128 | | #define GNUTLS_CIPHER_ARCFOUR GNUTLS_CIPHER_ARCFOUR_128 | |
| | | | |
| /** | | /** | |
| * gnutls_cipher_algorithm_t: | | * gnutls_cipher_algorithm_t: | |
| * @GNUTLS_CIPHER_UNKNOWN: Unknown algorithm. | | * @GNUTLS_CIPHER_UNKNOWN: Unknown algorithm. | |
| * @GNUTLS_CIPHER_NULL: NULL algorithm. | | * @GNUTLS_CIPHER_NULL: NULL algorithm. | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| x509.h (3.3.1) | | x509.h (3.3.2) | |
| | | | |
| skipping to change at line 815 | | skipping to change at line 815 | |
| GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS = 1 << 7, | | GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS = 1 << 7, | |
| GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT = 1 << 8, | | GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT = 1 << 8, | |
| GNUTLS_VERIFY_DISABLE_CRL_CHECKS = 1 << 9, | | GNUTLS_VERIFY_DISABLE_CRL_CHECKS = 1 << 9, | |
| GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN = 1 << 10, | | GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN = 1 << 10, | |
| GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN = 1 << 11, | | GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN = 1 << 11, | |
| GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS = 1 << 12, | | GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS = 1 << 12, | |
| } gnutls_certificate_verify_flags; | | } gnutls_certificate_verify_flags; | |
| | | | |
| /** | | /** | |
| * gnutls_certificate_verification_profiles_t: | | * gnutls_certificate_verification_profiles_t: | |
|
| | | * @GNUTLS_PROFILE_VERY_WEAK: A verification profile that | |
| | | * corresponds to @GNUTLS_SEC_PARAM_VERY_WEAK (64 bits) | |
| * @GNUTLS_PROFILE_LOW: A verification profile that | | * @GNUTLS_PROFILE_LOW: A verification profile that | |
| * corresponds to @GNUTLS_SEC_PARAM_LOW (80 bits) | | * corresponds to @GNUTLS_SEC_PARAM_LOW (80 bits) | |
| * @GNUTLS_PROFILE_LEGACY: A verification profile that | | * @GNUTLS_PROFILE_LEGACY: A verification profile that | |
| * corresponds to @GNUTLS_SEC_PARAM_LEGACY (96 bits) | | * corresponds to @GNUTLS_SEC_PARAM_LEGACY (96 bits) | |
| * @GNUTLS_PROFILE_MEDIUM: A verification profile that | | * @GNUTLS_PROFILE_MEDIUM: A verification profile that | |
| * corresponds to @GNUTLS_SEC_PARAM_MEDIUM (112 bits) | | * corresponds to @GNUTLS_SEC_PARAM_MEDIUM (112 bits) | |
| * @GNUTLS_PROFILE_HIGH: A verification profile that | | * @GNUTLS_PROFILE_HIGH: A verification profile that | |
| * corresponds to @GNUTLS_SEC_PARAM_HIGH (128 bits) | | * corresponds to @GNUTLS_SEC_PARAM_HIGH (128 bits) | |
| * @GNUTLS_PROFILE_ULTRA: A verification profile that | | * @GNUTLS_PROFILE_ULTRA: A verification profile that | |
| * corresponds to @GNUTLS_SEC_PARAM_ULTRA (256 bits) | | * corresponds to @GNUTLS_SEC_PARAM_ULTRA (256 bits) | |
| % * @GNUTLS_PROFILE_SUITEB128: A verification profile that | | % * @GNUTLS_PROFILE_SUITEB128: A verification profile that | |
| * applies the SUITEB128 rules | | * applies the SUITEB128 rules | |
| * @GNUTLS_PROFILE_SUITEB192: A verification profile that | | * @GNUTLS_PROFILE_SUITEB192: A verification profile that | |
| * applies the SUITEB192 rules | | * applies the SUITEB192 rules | |
| * | | * | |
| * Enumeration of different certificate verification profiles. | | * Enumeration of different certificate verification profiles. | |
| */ | | */ | |
| typedef enum gnutls_certificate_verification_profiles_t { | | typedef enum gnutls_certificate_verification_profiles_t { | |
|
| | | GNUTLS_PROFILE_VERY_WEAK = 1, | |
| GNUTLS_PROFILE_LOW = 2, | | GNUTLS_PROFILE_LOW = 2, | |
| GNUTLS_PROFILE_LEGACY = 4, | | GNUTLS_PROFILE_LEGACY = 4, | |
| GNUTLS_PROFILE_MEDIUM = 5, | | GNUTLS_PROFILE_MEDIUM = 5, | |
| GNUTLS_PROFILE_HIGH = 6, | | GNUTLS_PROFILE_HIGH = 6, | |
| GNUTLS_PROFILE_ULTRA = 7, | | GNUTLS_PROFILE_ULTRA = 7, | |
| | | | |
| GNUTLS_PROFILE_SUITEB128=32, | | GNUTLS_PROFILE_SUITEB128=32, | |
| GNUTLS_PROFILE_SUITEB192=33, | | GNUTLS_PROFILE_SUITEB192=33, | |
| /*GNUTLS_PROFILE_MAX=255*/ | | /*GNUTLS_PROFILE_MAX=255*/ | |
| } gnutls_certificate_verification_profiles_t; | | } gnutls_certificate_verification_profiles_t; | |
| | | | |
| skipping to change at line 1206 | | skipping to change at line 1209 | |
| gnutls_x509_trust_list_deinit(gnutls_x509_trust_list_t list, | | gnutls_x509_trust_list_deinit(gnutls_x509_trust_list_t list, | |
| unsigned int all); | | unsigned int all); | |
| | | | |
| int gnutls_x509_trust_list_get_issuer(gnutls_x509_trust_list_t | | int gnutls_x509_trust_list_get_issuer(gnutls_x509_trust_list_t | |
| list, gnutls_x509_crt_t cert, | | list, gnutls_x509_crt_t cert, | |
| gnutls_x509_crt_t * issuer, | | gnutls_x509_crt_t * issuer, | |
| unsigned int flags); | | unsigned int flags); | |
| | | | |
| #define GNUTLS_TL_VERIFY_CRL 1 | | #define GNUTLS_TL_VERIFY_CRL 1 | |
| #define GNUTLS_TL_USE_IN_TLS (1<<1) | | #define GNUTLS_TL_USE_IN_TLS (1<<1) | |
|
| | | #define GNUTLS_TL_NO_DUPLICATES (1<<2) | |
| int | | int | |
| gnutls_x509_trust_list_add_cas(gnutls_x509_trust_list_t list, | | gnutls_x509_trust_list_add_cas(gnutls_x509_trust_list_t list, | |
| const gnutls_x509_crt_t * clist, | | const gnutls_x509_crt_t * clist, | |
|
| int clist_size, unsigned int flags); | | unsigned clist_size, unsigned int flags); | |
| int gnutls_x509_trust_list_remove_cas(gnutls_x509_trust_list_t | | int gnutls_x509_trust_list_remove_cas(gnutls_x509_trust_list_t | |
| list, | | list, | |
| const gnutls_x509_crt_t * | | const gnutls_x509_crt_t * | |
| clist, int clist_size); | | clist, int clist_size); | |
| | | | |
| int gnutls_x509_trust_list_add_named_crt(gnutls_x509_trust_list_t | | int gnutls_x509_trust_list_add_named_crt(gnutls_x509_trust_list_t | |
| list, | | list, | |
| gnutls_x509_crt_t cert, | | gnutls_x509_crt_t cert, | |
| const void *name, | | const void *name, | |
| size_t name_size, | | size_t name_size, | |
| | | | |
End of changes. 4 change blocks. |
| 1 lines changed or deleted | | 5 lines changed or added | |
|