diff options
author | Jeremy Allison <jra@samba.org> | 2007-03-20 02:20:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:43 -0500 |
commit | efbdda540a5e0e4d8dff15b0a5891e38244c2c61 (patch) | |
tree | db9e71e479cc522123129c19d0492f6ab1e95548 /source3 | |
parent | 296dcbac5897ad208c890720d3356a3ddc5f7794 (diff) | |
download | samba-efbdda540a5e0e4d8dff15b0a5891e38244c2c61.tar.gz samba-efbdda540a5e0e4d8dff15b0a5891e38244c2c61.tar.bz2 samba-efbdda540a5e0e4d8dff15b0a5891e38244c2c61.zip |
r21883: Try and fix the build by removing the prototypes for
functions that take a gss context handle in includes.h
Jeremy.
(This used to be commit 638b03242d4a6b1df2477dad19240ed61a14a5a3)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 8 | ||||
-rw-r--r-- | source3/libsmb/smb_seal.c | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 5b81cfbfab..b591d7d807 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1186,6 +1186,14 @@ krb5_error_code smb_krb5_mk_error(krb5_context context, 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 */ diff --git a/source3/libsmb/smb_seal.c b/source3/libsmb/smb_seal.c index 10b9d8fdcb..e7b3e8f024 100644 --- a/source3/libsmb/smb_seal.c +++ b/source3/libsmb/smb_seal.c @@ -123,7 +123,7 @@ NTSTATUS common_ntlm_encrypt_buffer(NTLMSSP_STATE *ntlmssp_state, char *buf, cha ******************************************************************************/ #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 @@ NTSTATUS common_gss_decrypt_buffer(gss_ctx_id_t context_handle, char *buf) ******************************************************************************/ #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; } |