Commit Graph

319 Commits

Author SHA1 Message Date
Michael Jung e9cb2e6d5f ixed calculation of buffer size in CRYPT_ANSIToUnicode and
CRYPT_UnicodeToANSI.
2004-12-20 18:52:41 +00:00
Jon Griffiths 873cd009d0 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-15 10:54:44 +00:00
James Hawkins ce4a4ef981 Minor documentation addition. 2004-12-14 15:27:05 +00:00
James Hawkins 7f34c04067 Cleanup some documentation. 2004-12-14 15:26:04 +00:00
Alexander Yaworsky e849a56673 Check service database name in OpenSCManager(). 2004-12-09 16:52:10 +00:00
Mike McCormack 0128a849b1 Stub implementations for Lsa(Store/Retrieve)PrivateData. 2004-12-08 14:02:26 +00:00
Alexander Yaworsky 9087fb2000 Notify StartService when service control dispatcher has been
started. Otherwise StartService terminates service process.
2004-12-08 14:01:26 +00:00
Alexander Yaworsky e2b9000b84 Implemented RegisterServiceCtrlHandler, ControlService. 2004-12-07 14:24:58 +00:00
Stefan Leichter 2d136f0de9 Fix missing imports on NT4. 2004-12-06 20:38:24 +00:00
Mike McCormack 4bda758157 Stub implementations for DecryptFile, EncryptFile and
GetServiceDisplayName.
2004-12-06 16:17:08 +00:00
Alexander Yaworsky bb1466e861 Implemented SetServiceStatus, QueryServiceStatus. 2004-12-06 11:35:22 +00:00
James Hawkins e3ba250034 Only call test_set_provider_ex() once. 2004-12-06 11:34:40 +00:00
Alexander Yaworsky e6985ab3a5 Basic implementation of service control dispatcher. 2004-12-02 19:51:41 +00:00
Alexander Yaworsky 78b64795d7 Introduced service thread. 2004-12-01 15:31:34 +00:00
Mike McCormack 418672f2e5 Added a stub implementation for GetCurrentHwProfileW. 2004-12-01 15:27:59 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
James Hawkins 88aeb475c0 Fixed a few memory leaks. 2004-11-30 17:33:27 +00:00
Alexander Yaworsky 8109cfd443 Merge Unicode and ASCII versions of StartServiceCtrlDispatcher.
Implement StartServiceCtrlDispatcherA on the top of
StartServiceCtrlDispatcherW.
Get rid of HEAP_strdupWtoA.
2004-11-30 17:29:03 +00:00
Alexander Yaworsky 970a877995 Move up SERV_* functions. 2004-11-21 15:50:08 +00:00
James Hawkins 2515ff77fc Added beginnings of RegQueryValueEx tests. 2004-11-19 18:13:30 +00:00
Jason Edmeades d80247ef67 - Stub SetServiceObjectSecurity to pretend to work (return true).
- Change QueryServiceObjectSecurity so it initializes the ACL with a
  null DACL, and return as though it worked.
- Changed QueryServiceStatus to tell if the service is running by the
  presence of some named shared storage - copied from StartService when
  it checks to see if its already running.
2004-11-10 01:31:39 +00:00
Juan Lang 0fca5acba8 - implement LookupPrivilegeName
- correct LookupPrivilegeValue (had a buffer overrun and sometimes
  returned incorrect LUIDs for well-known values)
- make AllocateLocallyUniqueId less obviously incorrect
- add a bunch of test cases
2004-11-04 04:52:17 +00:00
Jakob Eriksson 2a798e5f31 AllocateAndInitializeSid does not work on Win98. 2004-11-03 22:14:55 +00:00
Michael Jung 6b12414fc8 CryptGetUserKey: Set return key handle to zero in case of failure. 2004-11-01 21:07:24 +00:00
Michael Jung 2f2f3a1d13 CryptCreateHash: Set returned hash handle to zero in case of failure. 2004-10-27 21:15:10 +00:00
Juan Lang 531be0b887 Update comment for LsaOpenPolicy. 2004-10-25 21:43:47 +00:00
Mike McCormack 5bc8077511 Implement ChangeServiceConfig2A using ChangeServiceConfig2W. 2004-10-21 20:57:09 +00:00
Mike McCormack 2e82a0965b Implement ChangeServiceConfigA using ChangeServiceConfigW. 2004-10-21 19:51:53 +00:00
Alexandre Julliard bbde53fb02 RegQueryValueW must return count in bytes for empty string too. 2004-10-19 21:14:09 +00:00
Michael Jung 162171e258 Fixed a typo in CryptExportKey. 2004-10-18 19:35:24 +00:00
Michael Jung 09a81f8c3f CryptDeriveKey - set return key handle to NULL in case of failure. 2004-10-11 19:52:54 +00:00
Alexandre Julliard 06e35a776b Removed wrong memset calls. 2004-10-07 19:14:21 +00:00
Alexandre Julliard 6c6f71c8a9 Fixed MD4Final/MD5Final entries (spotted by Vincent Béron). 2004-10-07 19:13:33 +00:00
Hans Leidekker b6aa6210cd Implement MD{4,5}Init MD{4,5}Update and MD{4,5}Final.
Add tests for these functions.
2004-10-06 18:53:29 +00:00
Dmitry Timoshkov f2dca03dec Make advapi32/crypt.c test pass under win2k SP4, do stricter error
checking, comment out a couple of tests failing under win2k, add a
note why RSA_CPAcquireContext may fail.
2004-10-05 02:09:36 +00:00
Hans Leidekker b96edb38cd Implement SystemFunction006().
Add a test for SystemFunction006().
2004-10-04 20:42:05 +00:00
Dmitry Timoshkov 964422524c Avoid a crash in advapi32/test_sha_ctx.c test if required entry points
are missing.
2004-10-04 19:31:17 +00:00
Alexander Yaworsky d9c9bfd779 Start only first service in the service table. 2004-09-27 20:35:27 +00:00
Alexander Yaworsky 31ec065bfd Restructured code of StartServiceCtrlDispatcherA/W. 2004-09-25 00:28:42 +00:00
Alexander Yaworsky 9d590d5059 Pass arguments to the service program. 2004-09-21 00:23:32 +00:00
Filip Navara e1db054315 Implement A_SHA* functions present in Windows XP and later systems. 2004-09-17 18:15:28 +00:00
Juan Lang bd0e74253c - correct ConvertStringSidToSidW and ConvertSidToStringSidW, with
tests
- add ConvertStringSidToSidA
- add missing exports for ConvertStringSidToSidA/W
2004-09-16 20:27:52 +00:00
Alexander Yaworsky 6a36f28f2a Pass argv[0] (service name) to the service program. 2004-09-16 20:27:31 +00:00
Alexander Yaworsky 81dfe73ef8 Added stubs for MD4, MD5 and SHA functions. 2004-09-16 19:09:13 +00:00
Alexander Yaworsky 8484d3fbae Proper finalization in StartServiceW. 2004-09-14 19:39:19 +00:00
Mike McCormack 7d3431ed1d Stub implementation for QueryServiceObjectSecurity. 2004-09-14 19:25:35 +00:00
Mike McCormack 8ea4fffb98 Make sure not to interfere with the lasterror value returned by the
CSP in CryptAcquireContextA.
2004-09-14 17:43:41 +00:00
Alexander Yaworsky 37180dd6d5 Implemented LockServiceDatabase and UnlockServiceDatabase. 2004-09-10 21:12:25 +00:00
Wolfgang Schwotzer 9c4890042d LookupAccountNameA stub always returns a valid SID. 2004-09-07 20:41:35 +00:00
Mike McCormack 8100e0eec2 Return the correct error when OpenService is called with a
non-existing service.
2004-09-06 20:28:32 +00:00