breaking compatibility for 2.12.0

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Feb 2 10:38:31 CET 2011


Hello,
 It seems that with the changes occurred in 2.11.x breaking
of backwards compatibility is required, i.e. removal of some
functions. Those were exporting/depending on internal data, that
are no longer there and it is not possible to emulate them.
They are:
gnutls_certificate_get_x509_crls
gnutls_certificate_get_x509_cas

I cannot find a way to avoid that, except making those function
return NULL data, but this will harm any applications using those
functions.

Moreover I've deprecated already several other functions
with bad interfaces, ones that depend on internal data,
or replaced by "better" ones. All the deprecated functions are:

gnutls_ext_register: DEPRECATED
gnutls_session_get_server_random: DEPRECATED
gnutls_session_get_client_random: DEPRECATED
gnutls_session_get_master_secret: DEPRECATED
gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use:
gnutls_pubkey_get_verify_algorithm)
gnutls_x509_crt_get_preferred_hash_algorithm: DEPRECATED (use:
gnutls_pubkey_get_preferred_hash_algorithm)
gnutls_openpgp_privkey_sign_hash: DEPRECATED (use:
gnutls_privkey_sign_hash2)
gnutls_x509_crq_sign2: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
gnutls_x509_crq_sign: DEPRECATED (use: gnutls_x509_crq_privkey_sign)
gnutls_x509_crq_get_preferred_hash_algorithm: DEPRECATED
gnutls_x509_crl_sign: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
gnutls_x509_crl_sign2: DEPRECATED (use: gnutls_x509_crl_privkey_sign)
gnutls_x509_privkey_sign_data: DEPRECATED (use: gnutls_privkey_sign_data2)
gnutls_x509_privkey_sign_hash: DEPRECATED (use: gnutls_privkey_sign_hash2)
gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
gnutls_psk_netconf_derive_key: DEPRECATED
gnutls_session_set_finished_function: DEPRECATED

regards,
Nikos




More information about the Gnutls-devel mailing list