Eric Pouech
7e39b60a69
advapi32: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-08 10:45:56 +01:00
Hans Leidekker
53d956700a
advapi32: Use wide character string literals.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-10 22:06:39 +02:00
Alexandre Julliard
c487f21b6b
advapi32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-09 20:30:31 +02:00
Hans Leidekker
66baf15352
advapi32: Enumerate host credentials through mountmgr.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-04 15:47:27 +02:00
Hans Leidekker
f69b9e2446
advapi32: Delete host credentials through mountmgr.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-03 17:21:44 +02:00
Hans Leidekker
98a3986c7d
advapi32: Write host credentials through mountmgr.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-03 17:21:44 +02:00
Hans Leidekker
faef38479c
advapi32: Read host credentials through mountmgr.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-02 16:30:03 +02:00
Gijs Vermeulen
89e2cf6b2b
advapi32: Introduce ARRAY_SIZE macro.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:37:00 +01:00
Nikolay Sivov
8997944a56
advapi32: Handle empty kSecCreationDateItemAttr attribute.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:11:04 +01:00
Charles Davis
09b1467575
advapi32: Don't print 32-bit values as long integers.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:11 +09:00
Nikolay Sivov
ae1d5912fe
advapi32: Switch to heap helpers in the rest of the code.
2014-08-29 09:57:56 +02:00
Thomas Faber
6754c35589
advapi32: Fix uneven length handling in CredUnmarshalCredential.
2014-03-31 12:39:35 +02:00
Thomas Faber
309b5366e8
advapi32: Set output type earlier in CredUnmarshalCredential.
2014-03-31 12:39:30 +02:00
Thomas Faber
0868486d17
advapi32: Remove unnecessary buffer copy in CredMarshalCredentialW.
2014-03-31 12:39:13 +02:00
Thomas Faber
f9fae1b3f6
advapi32: Fix stack corruption in CredIsMarshaledCredentialW.
...
In its currrent implementation, cred_decode with input length 6 writes
6 bytes to the output buffer. This overflows the DWORD passed in
CredIsMarshaledCredentialW.
2014-03-31 12:39:03 +02:00
Hans Leidekker
fbb669d0d4
advapi32: Use a generic Keychain item to store credentials on MacOS.
2014-01-28 19:38:43 +01:00
Hans Leidekker
8953c74e34
advapi32: Don't shadow keychain_item in mac_write_credential.
2014-01-10 18:15:08 +01:00
Hans Leidekker
2f3c474e41
advapi32: Avoid a crash when storing credentials on MacOS.
2013-12-19 17:10:30 +01:00
Frédéric Delanoy
b160c733a8
advapi32: Constify a character string.
2013-12-17 08:42:49 +01:00
Hans Leidekker
0c56639a6a
advapi32: Perform a case-insensitive match on the credential target name.
2013-11-27 14:57:48 +01:00
Hans Leidekker
ffa6dbe0b1
advapi32: Add support for filtering credentials on MacOS in CredEnumerateW.
2012-12-11 20:45:42 +01:00
Hans Leidekker
bff64e8578
advapi32: Avoid a buffer overflow in CredUnmarshalCredentialW.
...
Spotted by Stefan Leichter.
2012-11-15 21:22:03 +01:00
Hans Leidekker
860c335b22
advapi32: Only require a domain in the username for CRED_PERSIST_ENTERPRISE credentials.
2012-10-18 19:22:43 +02:00
Charles Davis
7b0cea0d54
advapi32: Actually return an error if status indicates an error (Clang).
2012-09-17 12:04:52 +02:00
Charles Davis
9285306a5b
advapi32: Eliminate dead stores (Clang).
2012-09-17 12:04:46 +02:00
Charles Davis
4d22d68503
advapi32: Fix memory leak on Mac OS (Clang).
2012-09-14 11:39:47 +02:00
Detlef Riekenberg
d96de83089
advapi32: Implement CredIsMarshaledCredentialA/W.
2012-07-12 16:08:53 -05:00
Hans Leidekker
d5d2f01d3e
advapi32: Implement CredMarshalCredential and CredUnmarshalCredential.
2012-03-09 11:32:46 +01:00
Alexandre Julliard
d37c85d6a7
advapi32: Include system headers before Windows headers.
2011-09-05 17:22:10 +02:00
Hans Leidekker
3440e768dd
Revert "advapi32: Fix cred domain according to tests.".
...
This reverts commit 061eb12ca3
.
The patch makes tests for CredRead and CredEnumerate pass but breaks
CredWrite at the same time.
2011-01-10 10:42:29 +01:00
Marko Nikolic
da2750384d
advapi32: Removed sign comparison warning.
2010-07-26 18:38:32 +02:00
Andrew Talbot
7114094472
advapi32: Constify some variables.
2010-07-26 18:38:30 +02:00
Alexandre Goujon
061eb12ca3
advapi32: Fix cred domain according to tests.
2010-07-20 17:38:53 +02:00
Mikhail Maroukhine
3d2fc2f315
advapi32: Fix compiler warnings with flag -Wcast-qual.
2010-04-02 15:22:51 +02:00
Detlef Riekenberg
655478075f
advapi32: Don't use -1 as dstlen in MultiByteToWideChar.
2009-09-22 16:22:23 +02:00
Detlef Riekenberg
224d33b2c9
advapi32: Don't use -1 as dstlen in WideCharToMultiByte.
2009-09-22 16:21:58 +02:00
Michael Stefaniuc
6a48bb4217
advapi32: Remove superfluous pointer casts.
2009-02-16 16:01:36 +01:00
Andrey Turkin
0b21bb75a0
advapi32: Implement CredReadDomainCredentials stub and tests.
2008-12-26 13:42:38 +01:00
Ricardo Filipe
a76d38d38e
advapi32: Removed dead assignments (llvm/clang).
2008-11-24 14:37:32 +01:00
Andrew Talbot
4a03558e8f
advapi32: Remove unused variable.
2008-07-28 12:16:21 +02:00
Rob Shearman
d245e7978d
advapi32: Make sure not to return a credential with a NULL UserName field when a Mac Keychain doesn't have an account name attribute.
2008-05-01 11:13:27 +02:00
Andrew Talbot
5c8473ba78
advapi32: Array parameters are passed to function as pointers so lose size information.
2008-04-09 11:43:41 +02:00
Francois Gouget
ddab29b7d1
advapi32: Add a rudimentary implementation of CredGetSessionTypes().
2008-02-15 12:05:20 +01:00
Andrew Talbot
263cb72e13
advapi32: Remove unneeded casts.
2007-12-03 13:10:21 +01:00
Rob Shearman
f96ff7d46e
advapi32: Make the credential registry key stay around if a persist value longer than session is specified.
2007-11-28 11:23:56 +01:00
Rob Shearman
c251100685
advapi32: Use the open_for_write parameter to open_cred_mgr_key and fix get_cred_mgr_encryption_key to not need KEY_WRITE access to the key passed in.
2007-11-28 11:23:54 +01:00
Rob Shearman
312a1db3ec
advapi32: Add support for using the Mac Keychain services as a backend for the credential functions instead of the registry.
2007-11-27 12:29:34 +01:00
Rob Shearman
50532d8b4d
advapi32: Fix a typo in CredEnumerateW.
2007-11-27 11:38:28 +01:00
Rob Shearman
ca83f61d2e
advapi32: Move credential registry reading code to separate functions.
2007-11-27 11:38:22 +01:00
Rob Shearman
e8d7af2d43
advapi32: Implement filter matching for CredEnumerate.
2007-10-31 12:39:54 +01:00