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
Hans Leidekker
411fc5f164
Fix signed/unsigned comparison warnings.
2004-09-02 23:00:53 +00:00
James Hawkins
19f2669c24
- remove unnecessary type conversions
...
- added tests for crypt
2004-09-01 22:46:29 +00:00
Alexander Yaworsky
7db2149f65
Implemented QueryServiceConfigA.
2004-09-01 17:29:00 +00:00
Alexander Yaworsky
871635c650
Expand ImagePath in QueryServiceConfigW.
2004-08-31 18:50:39 +00:00
Alexander Yaworsky
3ab2818948
Sanity check when closing service handle.
2004-08-31 17:32:05 +00:00
James Hawkins
1c251e9a69
Make CryptSetProviderEx only delete the 'Name' value and not delete
...
the entire 'Type XXX' key when deleting the default provider.
2004-08-30 23:57:18 +00:00
Alexander Yaworsky
5f115371ce
Changed SC_HANDLEs from HKEYs to pointers to internal structures.
2004-08-30 23:57:03 +00:00
Huw Davies
8e9d88c1a1
Fix full name of HKEY_CURRENT_CONFIG.
2004-08-26 18:22:58 +00:00
Alexander Yaworsky
968e252149
StartService must pass full command line to service program.
2004-08-26 18:10:01 +00:00
Evan Deaubl
18e195a89b
Added GetSecurityInfo stub.
2004-08-26 00:29:06 +00:00
Mike McCormack
fd4675c501
Make SetTokenInformation call NtSetInformationToken.
2004-08-25 17:30:46 +00:00
James Hawkins
1a6fa44658
Enable ERROR_MORE_DATA to be set in CryptGetDefaultProvider.
2004-08-20 19:25:35 +00:00
James Hawkins
e02eb90509
Added tests for CryptSetProviderEx.
2004-08-20 19:25:03 +00:00
Mike McCormack
e27ae38f01
Fix BuildTrusteeWithSid, implement and test BuildTrusteeWithName.
2004-08-19 19:01:12 +00:00
Aric Stewart
4a18630fef
Let StartServiceCtrlDispatcher handle services not started by
...
StartService.
2004-08-17 22:29:01 +00:00
James Hawkins
a26b7e30b1
If pszTypeName is too small to hold the type name in
...
CryptEnumProviderTypes, return ERROR_MORE_DATA.
2004-08-17 22:08:16 +00:00
Mike McCormack
945364754e
Remove unnecessary casts in crypt tests.
2004-08-17 22:07:59 +00:00
Mike McCormack
93eeaa417d
Implemented Get/SetFileSecurity A->W.
2004-08-16 23:18:23 +00:00
James Hawkins
25a6a0e08a
Fix alloc test in CryptEnumProviderTypesW that failed if the alloc
...
succeeded.
2004-08-16 21:10:38 +00:00
James Hawkins
ddad3152a1
Fixed a few crypt test bugs.
2004-08-16 21:10:18 +00:00
Mike McCormack
985646f07a
Declaration, implemention and test for BuildTrusteeWithSid.
2004-08-16 21:07:50 +00:00
Mike McCormack
d73c03a8b0
Add some stub declarations.
2004-08-16 19:58:24 +00:00
Mike McCormack
55257303d7
Move declaration of LSA* structs to ntsecapi.h.
2004-08-16 19:47:21 +00:00
Francois Gouget
870f55fefc
Fix the PSID and PSECURITY_DESCRIPTOR types.
...
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Mike McCormack
edf55ec7d9
Implement SetThreadToken using NtSetInformationThread.
2004-08-13 23:20:27 +00:00
James Hawkins
7aa82c80d4
If the pszProvName param of CryptEnumProviders is too small to hold
...
the provider name, SetLastError to ERROR_MORE_DATA.
2004-08-13 19:45:40 +00:00
James Hawkins
e672d8b6b4
Added tests for CryptEnumProviders.
2004-08-12 03:24:20 +00:00
James Hawkins
e1f5370f42
Cleanup A->W cross call in CryptEnumProviders.
2004-08-12 03:24:10 +00:00
Mike McCormack
f8167f01bc
Implement A->W call for SetNamedSecurityInfo.
2004-08-09 22:55:47 +00:00
James Hawkins
8cc77c1805
Make CryptEnumProvidersA pcbProvName parameter contain the correct
...
size of the provider name on return.
2004-08-09 22:53:58 +00:00
Mike McCormack
d161a8f64e
Fix definition of LookupPrivilegeNameW and declare it.
2004-08-09 19:46:15 +00:00
James Hawkins
62851fdb52
Fix alloc failure check in CryptEnumProvidersW.
2004-08-09 18:51:48 +00:00
Mike McCormack
e00a0ea330
Added a test for ConvertSidToStringSidW.
2004-08-09 18:47:22 +00:00
Mike McCormack
be303074d6
Implemented ConvertSidToStringSidA/W.
2004-08-09 18:47:06 +00:00
Mike McCormack
2d86d17f2f
Implement A->W call for GetNamedSecurityInfo.
2004-08-06 17:31:17 +00:00
Alexandre Julliard
c09881d51c
Fixed some more freeing issues in CryptAcquireContextA.
2004-08-02 18:49:26 +00:00
Michael Jung
4ce6ee1b31
Fixed a potential double call to CRYPT_Free on variable "temp".
2004-07-30 00:07:35 +00:00
Alexandre Julliard
bba76fca45
Don't crash on NULL data in RegSetValueExA (reported by Mike Hearn and
...
Andreas Mohr).
Removed a couple of unnecessary version checks.
2004-07-24 02:32:50 +00:00
Michael Jung
74ed099347
- Changed some FIXMEs to TRACEs, since they report on a problem in the
...
way the client uses the dll rather than in the dll itself.
- Cover the case, when the pszProvider parameter points to an empty
string.
- Fixed some imprecisions in error reporting.
- Removed the "wine_todo's" arround the corresponding unit-tests.
2004-07-24 02:27:15 +00:00
Michael Jung
7439680542
- Fixed a problem with dwProvType values greater than 99 in
...
CRYPT_GetTypeKeyName.
- Fixed error reporting in the case of dwProvType == 0.
- Removed "todo_wine" from the corresponding unit test.
2004-07-22 19:43:03 +00:00
Michael Jung
ccf487fc4d
Added some unit tests for the CryptAcquireContext API function.
2004-07-21 19:37:29 +00:00
Alexandre Julliard
01bb813156
Fixed some duplicate CRYPT_Free calls (spotted by Michael Jung).
2004-07-16 19:19:00 +00:00
Michael Jung
4651067f43
Use RegQueryValueExA instead of RegQueryValueA in
...
CryptEnumProviderTypes.
2004-07-15 18:59:34 +00:00
Michael Jung
81e6f0c15c
Reference counting for CRYPTPROV objects.
...
Implemented CryptContextAddRef.
2004-07-13 23:34:13 +00:00
James Hawkins
6a358c4090
Added and cleaned API docs.
2004-07-13 23:33:14 +00:00
James Hawkins
250c7c08bb
Added some more API docs.
2004-07-12 23:32:10 +00:00
Ge van Geldorp
606cc0acb6
Add missing privilege names.
2004-07-07 00:47:50 +00:00
William Lahti
d5a31871cd
Implemented AreAnyAccessesGranted.
2004-05-25 00:22:42 +00:00
Juan Lang
56b5164686
- If a crypto provider does not have a Signature in the registry,
...
check for the presence of the SigInFile value before failing.
- Get rid of a couple redundant assignments.
2004-05-17 19:48:00 +00:00
Mike McCormack
0effd76987
Pass crypt provider and type to CPAcquireContext.
2004-05-12 23:29:44 +00:00
Alexandre Julliard
6ddfba14e2
Fixed buffer size handling in GetUserNameA (reported by Hannu
...
Valtonen).
2004-05-10 21:26:58 +00:00
Alexandre Julliard
c4effa39e6
Use the Unix codepage to convert the user name to Unicode.
2004-05-07 04:01:28 +00:00
Francois Gouget
0345908a27
Assorted spelling fixes.
2004-04-28 00:24:44 +00:00
Jon Griffiths
50ce0844ba
Documentation fixes.
2004-04-23 21:32:34 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Mike Hearn
481a67e887
Documentation for SystemFunction040 and SystemFunction041 has become
...
available, so stub them out in case applications use them.
2004-04-17 00:23:50 +00:00
Alexandre Julliard
bea945eed9
OpenServiceW: don't use the requested service access rights for the
...
registry key access rights, they are not the same thing.
2004-04-12 22:18:39 +00:00
Alexandre Julliard
c420138d99
OpenSCManagerA/W arguments are strings.
2004-04-12 22:11:24 +00:00
Raphael Junqueira
8c16d405e0
Added some stubs.
2004-04-07 19:00:30 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Juan Lang
4161a8b474
Stub CommandLineFromMsiDescriptor to prevent a crash in Accelerys
...
Materials Studio.
2004-03-22 21:31:26 +00:00
Juan Lang
ae176d1629
Allow RegConnectRegistryW to the local machine name.
2004-03-18 01:34:23 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Robert Shearman
8447121451
- Remove duplicate free.
...
- Remove debug message that dumps invalid string.
2004-02-27 04:41:06 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Francois Gouget
e18aa3f614
Add trailing '\n's to ok() calls.
2004-01-26 20:23:25 +00:00
Robert Shearman
65e818272b
Partially implement RegOpenUserClassesRoot.
2004-01-16 04:40:33 +00:00
Mike McCormack
2050c469ef
Added missing LF in trace.
2004-01-06 20:40:31 +00:00
Mike Hearn
43cb03be3a
Implemented RegFlushKey and NtFlushKey.
2004-01-03 00:38:30 +00:00
Juan Lang
c02488b5f0
Read the Policy{Account,Primary}DomainInformation from the registry,
...
rather than hardcoding it to "DOMAIN".
2003-12-30 19:21:11 +00:00
Aric Stewart
3dc71b65a7
Better handling of some service functions.
2003-12-13 03:25:37 +00:00
Francois Gouget
8f63a714b2
Try not to display uninitialized data in traces (found by Valgrind).
2003-12-13 01:34:40 +00:00
Huw Davies
28c2ea07ce
Don't crash if lpDependencies is NULL.
2003-12-11 04:26:20 +00:00
Hans Leidekker
3114368152
Remove ntdll from imports.
2003-12-08 21:46:06 +00:00
Mike McCormack
9b513ad686
Stub implementations for ChangeServiceConfigA/W.
...
Implement CreateServiceW and call it from CreateServiceA.
Partial implementation of QueryServiceConfigW.
2003-12-02 03:48:53 +00:00
Mike McCormack
a7270ec780
Improve error handling in CryptAcquireContext.
2003-11-18 20:40:12 +00:00
Alexandre Julliard
f9be2f3d21
Removed some unnecessary includes.
2003-11-17 20:31:29 +00:00
Ulrich Czekalla
fd5e811c4e
Added stubs for AccessCheckByType, AddAuditAccessAce,
...
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Mike Hearn
2ea3dc4302
Implemented ReportEventA/W.
2003-11-11 21:59:15 +00:00
Robert Shearman
d6a06f942e
- Fix error paths in advapi32.CryptAcquireContextA.
...
- Call CRYPT_VerifyImage to verify the signature, even though it
currently does nothing.
2003-10-22 03:04:30 +00:00
Daniel Marmier
c33e4c4723
RegCreateKeyEx{A,W}: state that class string is constant.
2003-10-21 23:44:37 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Alexandre Julliard
b10dcfe3b9
Make sure we always use the same name for the semaphore (spotted by
...
Ben A L Jemmett).
2003-10-10 00:05:49 +00:00
Daniel Marmier
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +00:00
Jon Griffiths
4c1fa161a3
Documentation updates.
2003-10-01 03:20:21 +00:00
Michael Stefaniuc
082e0bfe93
Fix missing mem freeing on error path.
2003-10-01 03:14:29 +00:00
Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Marcus Meissner
ad1a1064d0
Print fixmes if we do not find a crypto providers for a specified
...
type/name and other failures.
2003-09-22 19:37:55 +00:00
Mike McCormack
de047225bb
Created stub functions for advapi32.GetExplicitEntriesFromAclA/W().
2003-09-17 20:04:45 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Steven Edwards
14e3b19cd0
Fixes for building with w32api headers on Mingw.
2003-08-22 05:05:56 +00:00
Mike McCormack
5ac945c021
Implement registry key unloading.
2003-08-19 03:08:17 +00:00
Mike McCormack
2e4010016e
Fix spec for InitiateSystemShutdownExA, as pointed out by Stefan
...
Leichter.
2003-08-13 19:34:57 +00:00
Mike McCormack
d0c2c6df72
Stubs for advapi32 functions InitiateSystemShutdownEx, SetEntriesInAcl
...
and SetNamedSecurityInfo.
2003-08-12 18:53:14 +00:00
Mike McCormack
49b408b192
Stubs for BuildTrusteeWithSid(A/W).
2003-08-11 18:41:28 +00:00
Mike McCormack
133ba9f3cd
Implemented LookupPrivilegeValueA/W.
2003-07-24 00:01:16 +00:00
Alexandre Julliard
67dca1b794
Fixed prototypes of VTableProcStruc callback functions.
2003-07-21 23:50:39 +00:00
Mike McCormack
87be464163
Moved declaration of VTableProvStruc from dlls/advapi32/crypt.h to
...
include/wincrypt.h.
2003-07-21 23:50:08 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
736ff98510
Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation.
2003-06-16 19:44:06 +00:00
Mike McCormack
493d89d888
Stubs for AccessCheckAndAuditAlarmA/W.
2003-05-11 02:37:11 +00:00
Robert Shearman
f0025e2adc
- Implemented RtlAddAccessAllowedAce, RtlAddAccessDeniedAce,
...
RtlAddAce, RtlValidAcl.
- Added the corresponding functions in advapi32.
- Grouped the ACL functions in advapi32.
2003-05-01 00:29:26 +00:00
Andreas Mohr
f11cbe34cc
Trace format fix.
2003-03-31 19:32:46 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Jon Griffiths
cd4234aa49
Documentation updates.
2003-03-18 18:35:48 +00:00
Alexandre Julliard
a9c51cb60b
Replaced forwards by normal function declarations.
2003-03-17 00:17:00 +00:00
Tony Lambregts
4550b8b7cf
Janitorial. Get rid of W->A calls.
2003-03-14 04:50:34 +00:00
Alexandre Julliard
43690e9e47
Removed no longer needed inclusion of heap.h.
2003-01-24 00:54:58 +00:00
Matthew Davison
620323e294
Removed some Unicode -> Ascii cross-calls.
2003-01-24 00:45:51 +00:00
Matthew Davison
60009b9a56
Removed calls to HEAP_strdupAtoW.
2003-01-23 23:07:38 +00:00
Matthew Davison
6f2a071df1
Remove some calls to HEAP_strdupAtoW from advapi32.
2003-01-20 23:23:12 +00:00
Uwe Bonnes
574d4a91a6
Stubs for Un|LockServiceDatabase.
2003-01-14 19:31:44 +00:00
Robert Shearman
bda22de541
- Add some stubs.
...
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Francois Gouget
c7de2085bb
Use only Ansi APIs for cleaning up the registry.
...
Skip Unicode tests if the Unicode APIs are not implemented.
If the value name buffer is too small, Win9x returns the number of
characters returned as specified in the MSDN while other Windows
return the number of bytes written (including the trailing '\0').
2003-01-13 18:29:31 +00:00
Chris Morgan
ee8411f4b0
Stub for GetSecurityInfoExW().
2002-12-19 04:15:23 +00:00
Andreas Mohr
866d79c11f
- actually use PLUID
...
- initialize the outbound lpLuid variable with bogus values
2002-12-16 23:48:04 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Steve Lustbader
f1e1fd05eb
Assorted Win2k/WinXP stubs.
2002-11-25 20:50:53 +00:00
Mike McCormack
11f4b44451
Implemented registry change notifications.
2002-11-25 02:47:32 +00:00
Aric Stewart
cdb9be7ba9
Work with the correct subkey with loading keys. Not a true fix to the
...
LoadKey/SaveKey situation.
2002-11-13 19:45:27 +00:00
Michael Stefaniuc
cbacde5256
Compile the advapi32 dll with -DSTRICT.
2002-10-25 19:17:33 +00:00
Patrik Stridvall
cf07e10017
Don't use wine/unicode.h in the header files, include it directly
...
where needed instead.
2002-10-23 20:20:59 +00:00
Alexandre Julliard
23bb3715f7
Added support for building certain dlls with -DSTRICT.
...
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard
5cf56a3afe
Removed LPxxx handle types that don't exist under Windows.
2002-10-03 19:46:27 +00:00