summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-09 13:39:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:54:01 -0500
commit363f04484ff0bdfbb22074ef6d5b84a2683a7bc8 (patch)
tree87f6c9bcd50320ebab27758671ee0f48b98a57d9 /source4/auth
parent2ec69980c8a5a8fd1ea9a5a6bbf62c40d9c14f3f (diff)
downloadsamba-363f04484ff0bdfbb22074ef6d5b84a2683a7bc8.tar.gz
samba-363f04484ff0bdfbb22074ef6d5b84a2683a7bc8.tar.bz2
samba-363f04484ff0bdfbb22074ef6d5b84a2683a7bc8.zip
r14070: this functions need to be exported,
it's ugly, but they're used in torture tests I hope to find a better solution for this later... metze (This used to be commit be8874e9d3f1a022a42ccd1262dc5ce7bd5d1a91)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/schannel.c2
-rw-r--r--source4/auth/ntlmssp/ntlmssp_sign.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 2b3c330a2d..f087a24dff 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -147,7 +147,7 @@ static NTSTATUS schannel_update(struct gensec_security *gensec_security, TALLOC_
* Make sure not to call this unless gensec is using schannel...
*/
-NTSTATUS dcerpc_schannel_creds(struct gensec_security *gensec_security,
+_PUBLIC_/* TODO: make this non-public */NTSTATUS dcerpc_schannel_creds(struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
struct creds_CredentialState **creds)
{
diff --git a/source4/auth/ntlmssp/ntlmssp_sign.c b/source4/auth/ntlmssp/ntlmssp_sign.c
index 19a8b605c0..9eab0658ea 100644
--- a/source4/auth/ntlmssp/ntlmssp_sign.c
+++ b/source4/auth/ntlmssp/ntlmssp_sign.c
@@ -124,7 +124,7 @@ static NTSTATUS ntlmssp_make_packet_signature(struct gensec_ntlmssp_state *gense
return NT_STATUS_OK;
}
-NTSTATUS gensec_ntlmssp_sign_packet(struct gensec_security *gensec_security,
+_PUBLIC_/* TODO: make this non-public */NTSTATUS gensec_ntlmssp_sign_packet(struct gensec_security *gensec_security,
TALLOC_CTX *sig_mem_ctx,
const uint8_t *data, size_t length,
const uint8_t *whole_pdu, size_t pdu_length,
@@ -298,7 +298,7 @@ NTSTATUS gensec_ntlmssp_unseal_packet(struct gensec_security *gensec_security,
/**
Initialise the state for NTLMSSP signing.
*/
-NTSTATUS ntlmssp_sign_init(struct gensec_ntlmssp_state *gensec_ntlmssp_state)
+_PUBLIC_/* TODO: make this non-public */NTSTATUS ntlmssp_sign_init(struct gensec_ntlmssp_state *gensec_ntlmssp_state)
{
TALLOC_CTX *mem_ctx = talloc_new(gensec_ntlmssp_state);