git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff4001
)
rpc_client: Avoid warning in builds without krb5 headers.
author
Karolin Seeger
<kseeger@samba.org>
Tue, 24 Jun 2008 13:53:23 +0000
(15:53 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 24 Jun 2008 14:30:32 +0000
(16:30 +0200)
warning: ‘cli_auth_kerberos_data_destructor’ defined but not used
Karolin
(This used to be commit
b5f9176b6ca8c137d5c065abed943fa437b5531f
)
source3/rpc_client/cli_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_pipe.c
b/source3/rpc_client/cli_pipe.c
index ba6fbddf7f6269b6ba976cc6a5907c817ec446a3..2fd0a6e7ebf91e7c6a184000e65b2f29d6086866 100644
(file)
--- a/
source3/rpc_client/cli_pipe.c
+++ b/
source3/rpc_client/cli_pipe.c
@@
-2439,11
+2439,13
@@
NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain,
return NT_STATUS_NO_MEMORY;
}
+#ifdef HAVE_KRB5
static int cli_auth_kerberos_data_destructor(struct kerberos_auth_struct *auth)
{
data_blob_free(&auth->session_key);
return 0;
}
+#endif
NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
enum pipe_auth_level auth_level,