gnutls_ext_register, gnutls_certificate_get_x509_crls, gnutls_certificate_get_x509_cas
and bumped library version number.
gnutls_x509_privkey_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
gnutls_psk_netconf_derive_key: DEPRECATED
gnutls_session_set_finished_function: DEPRECATED
-gnutls_ext_register: DEPRECATED
-gnutls_certificate_get_x509_crls: DEPRECATED
-gnutls_certificate_get_x509_cas: DEPRECATED
gnutls_session_get_server_random: DEPRECATED
gnutls_session_get_client_random: DEPRECATED
gnutls_session_get_master_secret: DEPRECATED
gnutls_pkcs11_privkey_sign_hash: REMOVED (was added in 2.11.0)
gnutls_pkcs11_privkey_decrypt_data: REMOVED (was added in 2.11.0)
gnutls_privkey_sign_hash: REMOVED (was added in 2.11.0)
+gnutls_ext_register: REMOVED
+gnutls_certificate_get_x509_crls: REMOVED
+gnutls_certificate_get_x509_cas: REMOVED
* Version 2.11.6 (released 2010-12-06)
void
gnutls_certificate_free_cas (gnutls_certificate_credentials_t sc)
{
- /* do nothing for now */
+ /* FIXME: do nothing for now */
return;
}
-/**
- * gnutls_certificate_get_x509_cas:
- * @sc: is a #gnutls_certificate_credentials_t structure.
- * @x509_ca_list: will point to the CA list. Should be treated as constant
- * @ncas: the number of CAs
- *
- * This function will export all the CAs associated with the given
- * credentials.
- *
- * Since: 2.4.0
- * Deprecated and defunctional since: 2.11.0
- **/
-void
-gnutls_certificate_get_x509_cas (gnutls_certificate_credentials_t sc,
- gnutls_x509_crt_t ** x509_ca_list,
- unsigned int *ncas)
-{
- *x509_ca_list = NULL;
- *ncas = 0;
-}
-
-/**
- * gnutls_certificate_get_x509_crls:
- * @sc: is a #gnutls_certificate_credentials_t structure.
- * @x509_crl_list: the exported CRL list. Should be treated as constant
- * @ncrls: the number of exported CRLs
- *
- * This function will export all the CRLs associated with the given
- * credentials.
- *
- * Since: 2.4.0
- * Deprecated and defunctional since: 2.11.0
- **/
-void
-gnutls_certificate_get_x509_crls (gnutls_certificate_credentials_t sc,
- gnutls_x509_crl_t ** x509_crl_list,
- unsigned int *ncrls)
-{
- *x509_crl_list = NULL;
- *ncrls = 0;
-}
-
#ifdef ENABLE_OPENPGP
/**
return GNUTLS_E_SUCCESS;
}
-/*-
- * gnutls_ext_register:
- * @type: the 16-bit integer referring to the extension type
- * @name: human printable name of the extension used for debugging
- * @parse_type: either #GNUTLS_EXT_TLS or %GNUTLS_EXT_APPLICATION.
- * @recv_func: a function to receive extension data
- * @send_func: a function to send extension data
- *
- * This function is used to register a new TLS extension handler.
- *
- * Returns: %GNUTLS_E_SUCCESS on success, or an error code.
- *
- * Deprecated in: 2.11.0
- -*/
-int
-gnutls_ext_register (int type,
- const char *name,
- gnutls_ext_parse_type_t parse_type,
- gnutls_ext_recv_func recv_func,
- gnutls_ext_send_func send_func)
-{
- extension_entry_st ee;
-
- memset (&ee, 0, sizeof (ee));
-
- ee.type = type;
- ee.name = name;
- ee.parse_type = parse_type;
- ee.recv_func = recv_func;
- ee.send_func = send_func;
- /* FIXME: Why is this exported? Should it be removed? */
- return _gnutls_ext_register (&ee);
-}
-
int
_gnutls_ext_pack (gnutls_session_t session, gnutls_buffer_st * packed)
{
gnutls_sign_callback_get (gnutls_session_t session, void **userdata)
_GNUTLS_GCC_ATTR_DEPRECATED;
-/* Extension API is no longer exported because a lot of internal
- * structures are used. Currently it works due to a compatibility
- * layer, but will be removed in later versions.
- */
- int gnutls_ext_register (int type,
- const char *name,
- gnutls_ext_parse_type_t parse_type,
- gnutls_ext_recv_func recv_func,
- gnutls_ext_send_func send_func)
- _GNUTLS_GCC_ATTR_DEPRECATED;
-
/* We no longer support the finished callback. Use
* gnutls_session_channel_binding for similar functionality.
*/
unsigned int flags)
_GNUTLS_GCC_ATTR_DEPRECATED;
-/* These functions cannot be supported. They export internal
- * structure.
- */
- void gnutls_certificate_get_x509_cas (gnutls_certificate_credentials_t sc,
- gnutls_x509_crt_t ** x509_ca_list,
- unsigned int *ncas)
- _GNUTLS_GCC_ATTR_DEPRECATED;
-
- void gnutls_certificate_get_x509_crls (gnutls_certificate_credentials_t sc,
- gnutls_x509_crl_t ** x509_crl_list,
- unsigned int *ncrls)
- _GNUTLS_GCC_ATTR_DEPRECATED;
-
-
#endif /* _GNUTLS_COMPAT_H */
# Interfaces changed/added/removed: CURRENT++ REVISION=0
# Interfaces added: AGE++
# Interfaces removed: AGE=0
- AC_SUBST(LT_CURRENT, 44)
- AC_SUBST(LT_REVISION, 6)
- AC_SUBST(LT_AGE, 18)
+ AC_SUBST(LT_CURRENT, 27)
+ AC_SUBST(LT_REVISION, 0)
+ AC_SUBST(LT_AGE, 0)
AC_SUBST(CXX_LT_CURRENT, 27)
AC_SUBST(CXX_LT_REVISION, 0)