RSAENH: fix declarations

Mike McCormack mike at codeweavers.com
Tue Jun 14 22:09:38 CDT 2005


ChangeLog:
* fix declarations
-------------- next part --------------
Index: dlls/rsaenh/rsaenh.c
===================================================================
RCS file: /home/wine/wine/dlls/rsaenh/rsaenh.c,v
retrieving revision 1.31
diff -u -p -r1.31 rsaenh.c
--- dlls/rsaenh/rsaenh.c	13 Jun 2005 18:56:01 -0000	1.31
+++ dlls/rsaenh/rsaenh.c	15 Jun 2005 03:08:00 -0000
@@ -974,7 +974,7 @@ static void destroy_key_container(OBJECT
  *  Success: Handle to the new key container.
  *  Failure: INVALID_HANDLE_VALUE
  */
-static HCRYPTPROV new_key_container(PCHAR pszContainerName, DWORD dwFlags, PVTableProvStruc pVTable)
+static HCRYPTPROV new_key_container(PCCH pszContainerName, DWORD dwFlags, PVTableProvStruc pVTable)
 {
     KEYCONTAINER *pKeyContainer;
     HCRYPTPROV hKeyContainer;
Index: dlls/rsaenh/tests/rsaenh.c
===================================================================
RCS file: /home/wine/wine/dlls/rsaenh/tests/rsaenh.c,v
retrieving revision 1.9
diff -u -p -r1.9 rsaenh.c
--- dlls/rsaenh/tests/rsaenh.c	2 Mar 2005 10:11:38 -0000	1.9
+++ dlls/rsaenh/tests/rsaenh.c	15 Jun 2005 03:08:01 -0000
@@ -1091,7 +1091,7 @@ static void test_verify_signature() {
     if (!result) return;
 }
 
-void test_rsa_encrypt()
+static void test_rsa_encrypt(void)
 {
     HCRYPTKEY hRSAKey;
     BYTE abData[2048] = "Wine rocks!";
@@ -1125,7 +1125,7 @@ void test_rsa_encrypt()
     CryptDestroyKey(hRSAKey);
 }
         
-void test_schannel_provider()
+static void test_schannel_provider(void)
 {
     HCRYPTPROV hProv;
     HCRYPTKEY hRSAKey, hMasterSecret, hServerWriteKey, hServerWriteMACKey;
@@ -1372,7 +1372,7 @@ void test_schannel_provider()
     CryptReleaseContext(hProv, 0);
 }
 
-void test_enum_container()
+static void test_enum_container(void)
 {
     BYTE abContainerName[256];
     DWORD dwBufferLen;


More information about the wine-patches mailing list