summaryrefslogtreecommitdiffstats
path: root/src/windows/identity/plugins/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/identity/plugins/common')
-rw-r--r--src/windows/identity/plugins/common/krb5common.c1
-rw-r--r--src/windows/identity/plugins/common/krb5common.h8
2 files changed, 7 insertions, 2 deletions
diff --git a/src/windows/identity/plugins/common/krb5common.c b/src/windows/identity/plugins/common/krb5common.c
index de1cea4ab..5ba59df4e 100644
--- a/src/windows/identity/plugins/common/krb5common.c
+++ b/src/windows/identity/plugins/common/krb5common.c
@@ -31,6 +31,7 @@
#ifdef DEBUG
#include<assert.h>
#endif
+#include<strsafe.h>
/**************************************/
/* khm_krb5_error(): */
diff --git a/src/windows/identity/plugins/common/krb5common.h b/src/windows/identity/plugins/common/krb5common.h
index bd6337192..df3db93ae 100644
--- a/src/windows/identity/plugins/common/krb5common.h
+++ b/src/windows/identity/plugins/common/krb5common.h
@@ -33,9 +33,13 @@
#ifndef NO_KRB5
int khm_krb5_error(krb5_error_code rc, LPCSTR FailedFunctionName,
- int FreeContextFlag, krb5_context *ctx,
- krb5_ccache *cache);
+ int FreeContextFlag, krb5_context *ctx,
+ krb5_ccache *cache);
+int
+khm_krb5_get_error_string(krb5_error_code rc,
+ wchar_t * buffer,
+ khm_size cb_buffer);
int khm_krb5_initialize(khm_handle ident, krb5_context *, krb5_ccache *);