summaryrefslogtreecommitdiff
path: root/auth/credentials
diff options
context:
space:
mode:
Diffstat (limited to 'auth/credentials')
-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__ */