deprecate sign/seal functions (version 1 of the interface).

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24745 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-02-16 19:12:01 +00:00
parent a5d7a1ad04
commit aad6eb3ace

View File

@@ -53,6 +53,10 @@
#endif #endif
#endif #endif
#ifndef GSSAPI_DEPRECATED
#define GSSAPI_DEPRECATED __attribute__((deprecated))
#endif
/* /*
* Now define the three implementation-dependent types. * Now define the three implementation-dependent types.
*/ */
@@ -831,7 +835,7 @@ gss_context_query_attributes(OM_uint32 * /* minor_status */,
* obsolete versions of these routines and their current forms. * obsolete versions of these routines and their current forms.
*/ */
OM_uint32 GSSAPI_LIB_FUNCTION gss_sign OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_sign
(OM_uint32 * /*minor_status*/, (OM_uint32 * /*minor_status*/,
gss_ctx_id_t /*context_handle*/, gss_ctx_id_t /*context_handle*/,
int /*qop_req*/, int /*qop_req*/,
@@ -839,7 +843,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_sign
gss_buffer_t /*message_token*/ gss_buffer_t /*message_token*/
); );
OM_uint32 GSSAPI_LIB_FUNCTION gss_verify OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_verify
(OM_uint32 * /*minor_status*/, (OM_uint32 * /*minor_status*/,
gss_ctx_id_t /*context_handle*/, gss_ctx_id_t /*context_handle*/,
gss_buffer_t /*message_buffer*/, gss_buffer_t /*message_buffer*/,
@@ -847,7 +851,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_verify
int * /*qop_state*/ int * /*qop_state*/
); );
OM_uint32 GSSAPI_LIB_FUNCTION gss_seal OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_seal
(OM_uint32 * /*minor_status*/, (OM_uint32 * /*minor_status*/,
gss_ctx_id_t /*context_handle*/, gss_ctx_id_t /*context_handle*/,
int /*conf_req_flag*/, int /*conf_req_flag*/,
@@ -857,7 +861,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_seal
gss_buffer_t /*output_message_buffer*/ gss_buffer_t /*output_message_buffer*/
); );
OM_uint32 GSSAPI_LIB_FUNCTION gss_unseal OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_unseal
(OM_uint32 * /*minor_status*/, (OM_uint32 * /*minor_status*/,
gss_ctx_id_t /*context_handle*/, gss_ctx_id_t /*context_handle*/,
gss_buffer_t /*input_message_buffer*/, gss_buffer_t /*input_message_buffer*/,