| gnutls.h (3.2.7) | | gnutls.h (3.2.8) | |
| | | | |
| 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.2.7" | | #define GNUTLS_VERSION "3.2.8" | |
| | | | |
| #define GNUTLS_VERSION_MAJOR 3 | | #define GNUTLS_VERSION_MAJOR 3 | |
| #define GNUTLS_VERSION_MINOR 2 | | #define GNUTLS_VERSION_MINOR 2 | |
|
| #define GNUTLS_VERSION_PATCH 7 | | #define GNUTLS_VERSION_PATCH 8 | |
| | | | |
|
| #define GNUTLS_VERSION_NUMBER 0x030207 | | #define GNUTLS_VERSION_NUMBER 0x030208 | |
| | | | |
| #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. | |
| | | | |
| skipping to change at line 951 | | skipping to change at line 951 | |
| const unsigned int i); | | const unsigned int i); | |
| | | | |
| int gnutls_record_can_use_length_hiding(gnutls_session_t session); | | int gnutls_record_can_use_length_hiding(gnutls_session_t session); | |
| | | | |
| int gnutls_record_get_direction(gnutls_session_t session); | | int gnutls_record_get_direction(gnutls_session_t session); | |
| | | | |
| size_t gnutls_record_get_max_size(gnutls_session_t session); | | size_t gnutls_record_get_max_size(gnutls_session_t session); | |
| ssize_t gnutls_record_set_max_size(gnutls_session_t session, size_t size); | | ssize_t gnutls_record_set_max_size(gnutls_session_t session, size_t size); | |
| | | | |
| size_t gnutls_record_check_pending(gnutls_session_t session); | | size_t gnutls_record_check_pending(gnutls_session_t session); | |
|
| | | size_t gnutls_record_check_corked(gnutls_session_t session); | |
| | | | |
| void gnutls_session_force_valid(gnutls_session_t session); | | void gnutls_session_force_valid(gnutls_session_t session); | |
| | | | |
| int gnutls_prf(gnutls_session_t session, | | int gnutls_prf(gnutls_session_t session, | |
| size_t label_size, const char *label, | | size_t label_size, const char *label, | |
| int server_random_first, | | int server_random_first, | |
| size_t extra_size, const char *extra, | | size_t extra_size, const char *extra, | |
| size_t outsize, char *out); | | size_t outsize, char *out); | |
| | | | |
| int gnutls_prf_raw(gnutls_session_t session, | | int gnutls_prf_raw(gnutls_session_t session, | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| x509.h (3.2.7) | | x509.h (3.2.8) | |
| | | | |
| skipping to change at line 290 | | skipping to change at line 290 | |
| int gnutls_x509_crt_cpy_crl_dist_points(gnutls_x509_crt_t dst, | | int gnutls_x509_crt_cpy_crl_dist_points(gnutls_x509_crt_t dst, | |
| gnutls_x509_crt_t src); | | gnutls_x509_crt_t src); | |
| | | | |
| int gnutls_x509_crl_sign2(gnutls_x509_crl_t crl, | | int gnutls_x509_crl_sign2(gnutls_x509_crl_t crl, | |
| gnutls_x509_crt_t issuer, | | gnutls_x509_crt_t issuer, | |
| gnutls_x509_privkey_t issuer_key, | | gnutls_x509_privkey_t issuer_key, | |
| gnutls_digest_algorithm_t dig, | | gnutls_digest_algorithm_t dig, | |
| unsigned int flags); | | unsigned int flags); | |
| | | | |
| time_t gnutls_x509_crt_get_activation_time(gnutls_x509_crt_t cert); | | time_t gnutls_x509_crt_get_activation_time(gnutls_x509_crt_t cert); | |
|
| | | | |
| | | #define GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION ((time_t)4294197631) | |
| | | | |
| time_t gnutls_x509_crt_get_expiration_time(gnutls_x509_crt_t cert); | | time_t gnutls_x509_crt_get_expiration_time(gnutls_x509_crt_t cert); | |
| int gnutls_x509_crt_get_serial(gnutls_x509_crt_t cert, | | int gnutls_x509_crt_get_serial(gnutls_x509_crt_t cert, | |
| void *result, size_t * result_size); | | void *result, size_t * result_size); | |
| | | | |
| int gnutls_x509_crt_get_pk_algorithm(gnutls_x509_crt_t cert, | | int gnutls_x509_crt_get_pk_algorithm(gnutls_x509_crt_t cert, | |
| unsigned int *bits); | | unsigned int *bits); | |
| int gnutls_x509_crt_get_pk_rsa_raw(gnutls_x509_crt_t crt, | | int gnutls_x509_crt_get_pk_rsa_raw(gnutls_x509_crt_t crt, | |
| gnutls_datum_t * m, gnutls_datum_t * e); | | gnutls_datum_t * m, gnutls_datum_t * e); | |
| int gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt_t crt, | | int gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt_t crt, | |
| gnutls_datum_t * p, | | gnutls_datum_t * p, | |
| | | | |
| skipping to change at line 697 | | skipping to change at line 700 | |
| const gnutls_datum_t * crl); | | const gnutls_datum_t * crl); | |
| int gnutls_pkcs7_set_crl(gnutls_pkcs7_t pkcs7, gnutls_x509_crl_t crl); | | int gnutls_pkcs7_set_crl(gnutls_pkcs7_t pkcs7, gnutls_x509_crl_t crl); | |
| int gnutls_pkcs7_delete_crl(gnutls_pkcs7_t pkcs7, int indx); | | int gnutls_pkcs7_delete_crl(gnutls_pkcs7_t pkcs7, int indx); | |
| | | | |
| /* X.509 Certificate verification functions. | | /* X.509 Certificate verification functions. | |
| */ | | */ | |
| | | | |
| /** | | /** | |
| * gnutls_certificate_verify_flags: | | * gnutls_certificate_verify_flags: | |
| * @GNUTLS_VERIFY_DISABLE_CA_SIGN: If set a signer does not have to be | | * @GNUTLS_VERIFY_DISABLE_CA_SIGN: If set a signer does not have to be | |
|
| * a certificate authority. This flag should normaly be disabled, | | * a certificate authority. This flag should normally be disabled, | |
| * unless you know what this means. | | * unless you know what this means. | |
| * @GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: If set a signer in the trust
ed | | * @GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS: If set a signer in the trust
ed | |
| * list is never checked for expiration or activation. | | * list is never checked for expiration or activation. | |
| * @GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Allow trusted CA certificates | | * @GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Allow trusted CA certificates | |
| * with version 1. This is safer than %GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA
_CRT, | | * with version 1. This is safer than %GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA
_CRT, | |
| * and should be used instead. That way only signers in your trusted list | | * and should be used instead. That way only signers in your trusted list | |
| * will be allowed to have certificates of version 1. This is the default
. | | * will be allowed to have certificates of version 1. This is the default
. | |
| * @GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT: Do not allow trusted CA | | * @GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT: Do not allow trusted CA | |
| * certificates that have version 1. This option is to be used | | * certificates that have version 1. This option is to be used | |
| * to deprecate all certificates of version 1. | | * to deprecate all certificates of version 1. | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 4 lines changed or added | |
|