[SECUR32]
authorJérôme Gardou <jerome.gardou@reactos.org>
Mon, 1 Sep 2014 12:21:16 +0000 (12:21 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Mon, 1 Sep 2014 12:21:16 +0000 (12:21 +0000)
 - Update spec file
[SCHANNEL]
 - Update stubs list
Please blame binutils

svn path=/trunk/; revision=64022

reactos/dll/win32/schannel/schannel.spec
reactos/dll/win32/schannel/schannel_wine.c
reactos/dll/win32/schannel/stubs.c
reactos/dll/win32/secur32/secur32.spec

index c581f4b..c230f4a 100644 (file)
 @ stdcall InitSecurityInterfaceW() schan_InitSecurityInterfaceW
 @ stdcall InitializeSecurityContextA(ptr ptr str long long long ptr long ptr ptr ptr ptr) schan_InitializeSecurityContextA
 @ stdcall InitializeSecurityContextW(ptr ptr wstr long long long ptr long ptr ptr ptr ptr) schan_InitializeSecurityContextW
-@ stdcall MakeSignature(ptr long ptr long) secur32.MakeSignature
+@ stdcall MakeSignature(ptr long ptr long) schan_MakeSignature
 @ stub OpenSslPerformanceData
 @ stdcall QueryContextAttributesA(ptr long ptr) schan_QueryContextAttributesA
 @ stdcall QueryContextAttributesW(ptr long ptr) schan_QueryContextAttributesW
-@ stdcall QuerySecurityPackageInfoA(str ptr) secur32.QuerySecurityPackageInfoA
-@ stdcall QuerySecurityPackageInfoW(wstr ptr) secur32.QuerySecurityPackageInfoW
-@ stdcall RevertSecurityContext(ptr) secur32.RevertSecurityContext
-@ stdcall SealMessage(ptr long ptr long) secur32.SealMessage
+@ stdcall QuerySecurityPackageInfoA(str ptr) schan_QuerySecurityPackageInfoA
+@ stdcall QuerySecurityPackageInfoW(wstr ptr) schan_QuerySecurityPackageInfoW
+@ stdcall RevertSecurityContext(ptr) schan_RevertSecurityContext
+@ stdcall SealMessage(ptr long ptr long) schan_EncryptMessage
 @ stdcall SpLsaModeInitialize(long ptr ptr ptr)
 @ stdcall SpUserModeInitialize(long ptr ptr ptr)
 @ stub SslCrackCertificate
@@ -33,5 +33,5 @@
 @ stub SslGenerateRandomBits
 @ stub SslGetMaximumKeySize
 @ stub SslLoadCertificate
-@ stdcall UnsealMessage(ptr ptr long ptr) secur32.UnsealMessage
-@ stdcall VerifySignature(ptr ptr long ptr) secur32.VerifySignature
+@ stdcall UnsealMessage(ptr ptr long ptr) schan_DecryptMessage
+@ stdcall VerifySignature(ptr ptr long ptr) schan_VerifySignature
index aa3d364..0fceb7e 100644 (file)
@@ -1068,7 +1068,7 @@ static int schan_encrypt_message_get_next_buffer_token(const struct schan_transp
     return -1;
 }
 
-static SECURITY_STATUS SEC_ENTRY schan_EncryptMessage(PCtxtHandle context_handle,
+SECURITY_STATUS SEC_ENTRY schan_EncryptMessage(PCtxtHandle context_handle,
         ULONG quality, PSecBufferDesc message, ULONG message_seq_no)
 {
     struct schan_transport transport;
@@ -1190,7 +1190,7 @@ static void schan_decrypt_fill_buffer(PSecBufferDesc message, ULONG buffer_type,
     buffer->cbBuffer = size;
 }
 
-static SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle,
+SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle,
         PSecBufferDesc message, ULONG message_seq_no, PULONG quality)
 {
     struct schan_transport transport;
index 4695672..7f14512 100644 (file)
@@ -26,3 +26,31 @@ SECURITY_STATUS WINAPI schan_ImpersonateSecurityContext(PCtxtHandle phContext)
     return SEC_E_UNSUPPORTED_FUNCTION;
 }
 
+SECURITY_STATUS WINAPI schan_MakeSignature(PCtxtHandle phContext, ULONG fQOP,
+ PSecBufferDesc pMessage, ULONG MessageSeqNo)
+{
+    return SEC_E_UNSUPPORTED_FUNCTION;
+}
+
+SECURITY_STATUS WINAPI schan_QuerySecurityPackageInfoA(SEC_CHAR *pszPackageName,
+ PSecPkgInfoA *ppPackageInfo)
+{
+    return SEC_E_UNSUPPORTED_FUNCTION;
+}
+
+SECURITY_STATUS WINAPI schan_QuerySecurityPackageInfoW(SEC_WCHAR *pszPackageName,
+ PSecPkgInfoW *ppPackageInfo)
+{
+    return SEC_E_UNSUPPORTED_FUNCTION;
+}
+
+SECURITY_STATUS WINAPI schan_RevertSecurityContext(PCtxtHandle phContext)
+{
+    return SEC_E_UNSUPPORTED_FUNCTION;
+}
+
+SECURITY_STATUS WINAPI schan_VerifySignature(PCtxtHandle phContext,
+ PSecBufferDesc pMessage, ULONG MessageSeqNo, PULONG pfQOP)
+{
+    return SEC_E_UNSUPPORTED_FUNCTION;
+}
index d08ae79..fe9d5e6 100644 (file)
@@ -68,8 +68,8 @@
 @ stub SecpFreeMemory
 @ stub SecpTranslateName
 @ stub SecpTranslateNameEx
-@ stub SetContextAttributesA
-@ stub SetContextAttributesW
+@ stdcall SetContextAttributesA(ptr long ptr long)
+@ stdcall SetContextAttributesW(ptr long ptr long)
 @ stdcall TranslateNameA(str long long ptr ptr)
 @ stdcall TranslateNameW(wstr long long ptr ptr)
 @ stdcall UnsealMessage(ptr ptr long ptr) DecryptMessage