[PATCH 06/20] kerberos: Add stubs for SpInitialize and SpShutdown.

Dmitry Timoshkov dmitry at baikal.ru
Thu Jan 18 09:51:20 CST 2018


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 dlls/kerberos/krb5_ap.c | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/dlls/kerberos/krb5_ap.c b/dlls/kerberos/krb5_ap.c
index 68d111a0bc..72c7027428 100644
--- a/dlls/kerberos/krb5_ap.c
+++ b/dlls/kerberos/krb5_ap.c
@@ -144,6 +144,21 @@ static NTSTATUS NTAPI kerberos_LsaApCallPackageUntrusted(PLSA_CLIENT_REQUEST req
     return STATUS_NOT_IMPLEMENTED;
 }
 
+static NTSTATUS NTAPI kerberos_SpInitialize(ULONG_PTR package_id, SECPKG_PARAMETERS *params,
+    LSA_SECPKG_FUNCTION_TABLE *lsa_function_table)
+{
+    FIXME("%lu,%p,%p: stub\n", package_id, params, lsa_function_table);
+
+    return STATUS_SUCCESS;
+}
+
+static NTSTATUS NTAPI kerberos_SpShutdown(void)
+{
+    TRACE("\n");
+
+    return STATUS_SUCCESS;
+}
+
 static NTSTATUS NTAPI kerberos_SpGetInfo(SecPkgInfoW *info)
 {
     static WCHAR kerberos_name_W[] = MICROSOFT_KERBEROS_NAME_W;
@@ -178,8 +193,8 @@ static SECPKG_FUNCTION_TABLE kerberos_table =
     NULL, /* CallPackagePassthrough */
     NULL, /* LogonUserEx */
     NULL, /* LogonUserEx2 */
-    NULL, /* Initialize */
-    NULL, /* Shutdown */
+    kerberos_SpInitialize,
+    kerberos_SpShutdown,
     kerberos_SpGetInfo,
     NULL, /* AcceptCredentials */
     NULL, /* SpAcquireCredentialsHandle */
-- 
2.15.1




More information about the wine-devel mailing list