| gnutls.h (3.0.14) | | gnutls.h (3.0.15) | |
| | | | |
| skipping to change at line 54 | | skipping to change at line 54 | |
| #include <sys/types.h> | | #include <sys/types.h> | |
| /* *INDENT-ON* */ | | /* *INDENT-ON* */ | |
| #endif | | #endif | |
| /* Get time_t. */ | | /* Get time_t. */ | |
| #include <time.h> | | #include <time.h> | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" | | extern "C" | |
| { | | { | |
| #endif | | #endif | |
| | | | |
|
| #define GNUTLS_VERSION "3.0.14" | | #define GNUTLS_VERSION "3.0.15" | |
| | | | |
| #define GNUTLS_VERSION_MAJOR 3 | | #define GNUTLS_VERSION_MAJOR 3 | |
| #define GNUTLS_VERSION_MINOR 0 | | #define GNUTLS_VERSION_MINOR 0 | |
|
| #define GNUTLS_VERSION_PATCH 14 | | #define GNUTLS_VERSION_PATCH 15 | |
| | | | |
|
| #define GNUTLS_VERSION_NUMBER 0x03000e | | #define GNUTLS_VERSION_NUMBER 0x03000f | |
| | | | |
| #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 1676 | | skipping to change at line 1676 | |
| /* searches for the provided host/service pair that match the | | /* searches for the provided host/service pair that match the | |
| * provided public key in the database. */ | | * provided public key in the database. */ | |
| typedef int (*gnutls_tdb_verify_func) (const char* db_name, | | typedef int (*gnutls_tdb_verify_func) (const char* db_name, | |
| const char* host, | | const char* host, | |
| const char* service, | | const char* service, | |
| const gnutls_datum_t *pubkey); | | const gnutls_datum_t *pubkey); | |
| | | | |
| struct gnutls_tdb_int; | | struct gnutls_tdb_int; | |
| typedef struct gnutls_tdb_int *gnutls_tdb_t; | | typedef struct gnutls_tdb_int *gnutls_tdb_t; | |
| | | | |
|
| int gnutls_tdb_init(gnutls_tdb_t*); | | int gnutls_tdb_init (gnutls_tdb_t *tdb); | |
| void gnutls_tdb_set_store_func(gnutls_tdb_t, gnutls_tdb_store_func); | | void gnutls_tdb_set_store_func (gnutls_tdb_t tdb, | |
| void gnutls_tdb_set_store_commitment_func(gnutls_tdb_t, gnutls_tdb_store_ | | gnutls_tdb_store_func store); | |
| commitment_func); | | void gnutls_tdb_set_store_commitment_func (gnutls_tdb_t tdb, | |
| void gnutls_tdb_set_verify_func(gnutls_tdb_t, gnutls_tdb_verify_func); | | gnutls_tdb_store_commitment_func cstore | |
| void gnutls_tdb_deinit(gnutls_tdb_t); | | ); | |
| | | void gnutls_tdb_set_verify_func (gnutls_tdb_t tdb, | |
| | | gnutls_tdb_verify_func verify); | |
| | | void gnutls_tdb_deinit (gnutls_tdb_t tdb); | |
| | | | |
|
| int gnutls_verify_stored_pubkey(const char* db_name, | | int gnutls_verify_stored_pubkey (const char* db_name, | |
| gnutls_tdb_t, | | gnutls_tdb_t tdb, | |
| const char* host, | | const char* host, | |
| const char* service, | | const char* service, | |
| gnutls_certificate_type_t cert_type, | | gnutls_certificate_type_t cert_type, | |
| const gnutls_datum_t * cert, unsigned int flags | | const gnutls_datum_t * cert, | |
| ); | | unsigned int flags); | |
| | | | |
|
| int gnutls_store_commitment(const char* db_name, | | int gnutls_store_commitment (const char* db_name, | |
| gnutls_tdb_t, | | gnutls_tdb_t tdb, | |
| const char* host, | | const char* host, | |
| const char* service, | | const char* service, | |
| gnutls_digest_algorithm_t hash_algo, | | gnutls_digest_algorithm_t hash_algo, | |
| const gnutls_datum_t* hash, | | const gnutls_datum_t* hash, | |
| time_t expiration, | | time_t expiration, | |
| unsigned int flags); | | unsigned int flags); | |
| | | | |
|
| int gnutls_store_pubkey(const char* db_name, | | int gnutls_store_pubkey (const char* db_name, | |
| gnutls_tdb_t, | | gnutls_tdb_t tdb, | |
| const char* host, | | const char* host, | |
| const char* service, | | const char* service, | |
| gnutls_certificate_type_t cert_type, | | gnutls_certificate_type_t cert_type, | |
| const gnutls_datum_t * cert, | | const gnutls_datum_t * cert, | |
| time_t expiration, | | time_t expiration, | |
| unsigned int flags); | | unsigned int flags); | |
| | | | |
| /* Gnutls error codes. The mapping to a TLS alert is also shown in | | /* Gnutls error codes. The mapping to a TLS alert is also shown in | |
| * comments. | | * comments. | |
| */ | | */ | |
| | | | |
| #define GNUTLS_E_SUCCESS 0 | | #define GNUTLS_E_SUCCESS 0 | |
| #define GNUTLS_E_UNKNOWN_COMPRESSION_ALGORITHM -3 | | #define GNUTLS_E_UNKNOWN_COMPRESSION_ALGORITHM -3 | |
| #define GNUTLS_E_UNKNOWN_CIPHER_TYPE -6 | | #define GNUTLS_E_UNKNOWN_CIPHER_TYPE -6 | |
| #define GNUTLS_E_LARGE_PACKET -7 | | #define GNUTLS_E_LARGE_PACKET -7 | |
| #define GNUTLS_E_UNSUPPORTED_VERSION_PACKET -8 /* GNUTLS_A_PROTOCOL_VERSIO
N */ | | #define GNUTLS_E_UNSUPPORTED_VERSION_PACKET -8 /* GNUTLS_A_PROTOCOL_VERSIO
N */ | |
| | | | |
End of changes. 7 change blocks. |
| 32 lines changed or deleted | | 35 lines changed or added | |
|
| ocsp.h (3.0.14) | | ocsp.h (3.0.15) | |
| | | | |
| skipping to change at line 244 | | skipping to change at line 244 | |
| unsigned int *critical, | | unsigned int *critical, | |
| gnutls_datum_t *nonce); | | gnutls_datum_t *nonce); | |
| int gnutls_ocsp_resp_get_signature_algorithm (gnutls_ocsp_resp_t resp); | | int gnutls_ocsp_resp_get_signature_algorithm (gnutls_ocsp_resp_t resp); | |
| int gnutls_ocsp_resp_get_signature (gnutls_ocsp_resp_t resp, | | int gnutls_ocsp_resp_get_signature (gnutls_ocsp_resp_t resp, | |
| gnutls_datum_t *sig); | | gnutls_datum_t *sig); | |
| int gnutls_ocsp_resp_get_certs (gnutls_ocsp_resp_t resp, | | int gnutls_ocsp_resp_get_certs (gnutls_ocsp_resp_t resp, | |
| gnutls_x509_crt_t ** certs, | | gnutls_x509_crt_t ** certs, | |
| size_t *ncerts); | | size_t *ncerts); | |
| | | | |
| int gnutls_ocsp_resp_verify_direct (gnutls_ocsp_resp_t resp, | | int gnutls_ocsp_resp_verify_direct (gnutls_ocsp_resp_t resp, | |
|
| gnutls_x509_crt_t signercert, | | gnutls_x509_crt_t issuer, | |
| unsigned int*verify, | | unsigned int *verify, | |
| unsigned int flags); | | unsigned int flags); | |
| int gnutls_ocsp_resp_verify (gnutls_ocsp_resp_t resp, | | int gnutls_ocsp_resp_verify (gnutls_ocsp_resp_t resp, | |
| gnutls_x509_trust_list_t trustlist, | | gnutls_x509_trust_list_t trustlist, | |
|
| unsigned int*verify, | | unsigned int *verify, | |
| unsigned int flags); | | unsigned int flags); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #endif /* GNUTLS_OCSP_H */ | | #endif /* GNUTLS_OCSP_H */ | |
| | | | |
End of changes. 2 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|