summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-03-30 17:11:02 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:41 +0200
commit70f1cd6724a489cf3507fa196ff59fa8477cfbe1 (patch)
treea0234dc3a991760ca6e0a1fceac6cc59fd084ece /auth
parentb574e7cd815347193ab33f18019112f28f402319 (diff)
downloadsamba-70f1cd6724a489cf3507fa196ff59fa8477cfbe1.tar.gz
samba-70f1cd6724a489cf3507fa196ff59fa8477cfbe1.tar.bz2
samba-70f1cd6724a489cf3507fa196ff59fa8477cfbe1.zip
s4-auth-krb: Make cli_credentials_invalidate_client_gss_creds static.
It's not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth')
-rw-r--r--auth/credentials/credentials_krb5.c4
-rw-r--r--auth/credentials/credentials_krb5.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c
index 2892c4f1df..18fda886bc 100644
--- a/auth/credentials/credentials_krb5.c
+++ b/auth/credentials/credentials_krb5.c
@@ -31,6 +31,10 @@
#include "auth/kerberos/kerberos_util.h"
#include "param/param.h"
+static void cli_credentials_invalidate_client_gss_creds(
+ struct cli_credentials *cred,
+ enum credentials_obtained obtained);
+
_PUBLIC_ int cli_credentials_get_krb5_context(struct cli_credentials *cred,
struct loadparm_context *lp_ctx,
struct smb_krb5_context **smb_krb5_context)
diff --git a/auth/credentials/credentials_krb5.h b/auth/credentials/credentials_krb5.h
index 234df1c29c..2a66e0e39f 100644
--- a/auth/credentials/credentials_krb5.h
+++ b/auth/credentials/credentials_krb5.h
@@ -45,7 +45,5 @@ krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx,
krb5_principal *princ,
enum credentials_obtained *obtained,
const char **error_string);
-void cli_credentials_invalidate_client_gss_creds(struct cli_credentials *cred,
- enum credentials_obtained obtained);
#endif /* __CREDENTIALS_KRB5_H__ */