| gnutls.h (3.3.2) | | gnutls.h (3.3.3) | |
| | | | |
| 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.2" | | #define GNUTLS_VERSION "3.3.3" | |
| | | | |
| #define GNUTLS_VERSION_MAJOR 3 | | #define GNUTLS_VERSION_MAJOR 3 | |
| #define GNUTLS_VERSION_MINOR 3 | | #define GNUTLS_VERSION_MINOR 3 | |
|
| #define GNUTLS_VERSION_PATCH 2 | | #define GNUTLS_VERSION_PATCH 3 | |
| | | | |
|
| #define GNUTLS_VERSION_NUMBER 0x030302 | | #define GNUTLS_VERSION_NUMBER 0x030303 | |
| | | | |
| #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 1238 | | skipping to change at line 1238 | |
| const char *gnutls_check_version(const char *req_version); | | const char *gnutls_check_version(const char *req_version); | |
| | | | |
| /* Functions for setting/clearing credentials | | /* Functions for setting/clearing credentials | |
| */ | | */ | |
| void gnutls_credentials_clear(gnutls_session_t session); | | void gnutls_credentials_clear(gnutls_session_t session); | |
| | | | |
| /* cred is a structure defined by the kx algorithm | | /* cred is a structure defined by the kx algorithm | |
| */ | | */ | |
| int gnutls_credentials_set(gnutls_session_t session, | | int gnutls_credentials_set(gnutls_session_t session, | |
| gnutls_credentials_type_t type, void *cred); | | gnutls_credentials_type_t type, void *cred); | |
|
| | | int gnutls_credentials_get(gnutls_session_t session, | |
| | | gnutls_credentials_type_t type, void **cred); | |
| #define gnutls_cred_set gnutls_credentials_set | | #define gnutls_cred_set gnutls_credentials_set | |
| | | | |
| /* x.509 types */ | | /* x.509 types */ | |
| | | | |
| struct gnutls_pubkey_st; | | struct gnutls_pubkey_st; | |
| typedef struct gnutls_pubkey_st *gnutls_pubkey_t; | | typedef struct gnutls_pubkey_st *gnutls_pubkey_t; | |
| | | | |
| struct gnutls_privkey_st; | | struct gnutls_privkey_st; | |
| typedef struct gnutls_privkey_st *gnutls_privkey_t; | | typedef struct gnutls_privkey_st *gnutls_privkey_t; | |
| | | | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 5 lines changed or added | |
|