Author: jra Date: 2007-03-20 02:20:16 +0000 (Tue, 20 Mar 2007) New Revision: 21883
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21883 Log: Try and fix the build by removing the prototypes for functions that take a gss context handle in includes.h Jeremy. Modified: branches/SAMBA_3_0/source/include/includes.h branches/SAMBA_3_0/source/libsmb/smb_seal.c Changeset: Modified: branches/SAMBA_3_0/source/include/includes.h =================================================================== --- branches/SAMBA_3_0/source/include/includes.h 2007-03-20 01:17:47 UTC (rev 21882) +++ branches/SAMBA_3_0/source/include/includes.h 2007-03-20 02:20:16 UTC (rev 21883) @@ -1186,6 +1186,14 @@ const krb5_principal server, krb5_data *reply); +/* Call for SMB transport encryption. */ +#if defined(HAVE_GSSAPI_SUPPORT) +NTSTATUS common_gss_decrypt_buffer(gss_ctx_id_t context_handle, char *buf); +#endif +#if defined(HAVE_GSSAPI_SUPPORT) +NTSTATUS common_gss_encrypt_buffer(gss_ctx_id_t context_handle, char *buf, char **buf_out); +#endif + #endif /* HAVE_KRB5 */ Modified: branches/SAMBA_3_0/source/libsmb/smb_seal.c =================================================================== --- branches/SAMBA_3_0/source/libsmb/smb_seal.c 2007-03-20 01:17:47 UTC (rev 21882) +++ branches/SAMBA_3_0/source/libsmb/smb_seal.c 2007-03-20 02:20:16 UTC (rev 21883) @@ -123,7 +123,7 @@ ******************************************************************************/ #if defined(HAVE_GSSAPI_SUPPORT) && defined(HAVE_KRB5) -NTSTATUS common_gss_decrypt_buffer(gss_ctx_id_t context_handle, char *buf) + NTSTATUS common_gss_decrypt_buffer(gss_ctx_id_t context_handle, char *buf) { return NT_STATUS_NOT_SUPPORTED; } @@ -135,7 +135,7 @@ ******************************************************************************/ #if defined(HAVE_GSSAPI_SUPPORT) && defined(HAVE_KRB5) -NTSTATUS common_gss_encrypt_buffer(gss_ctx_id_t context_handle, char *buf, char **buf_out) + NTSTATUS common_gss_encrypt_buffer(gss_ctx_id_t context_handle, char *buf, char **buf_out) { return NT_STATUS_NOT_SUPPORTED; }