summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h8
-rw-r--r--source3/libsmb/smb_seal.c4
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;
}