James Hawkins
7f34c04067
Cleanup some documentation.
2004-12-14 15:26:04 +00:00
James Hawkins
88aeb475c0
Fixed a few memory leaks.
2004-11-30 17:33:27 +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
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
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
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
James Hawkins
1a6fa44658
Enable ERROR_MORE_DATA to be set in CryptGetDefaultProvider.
2004-08-20 19:25:35 +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
James Hawkins
25a6a0e08a
Fix alloc test in CryptEnumProviderTypesW that failed if the alloc
...
succeeded.
2004-08-16 21:10:38 +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
e1f5370f42
Cleanup A->W cross call in CryptEnumProviders.
2004-08-12 03:24:10 +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
James Hawkins
62851fdb52
Fix alloc failure check in CryptEnumProvidersW.
2004-08-09 18:51:48 +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
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
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
250c7c08bb
Added some more API docs.
2004-07-12 23:32:10 +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
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
Robert Shearman
8447121451
- Remove duplicate free.
...
- Remove debug message that dumps invalid string.
2004-02-27 04:41:06 +00:00
Mike McCormack
2050c469ef
Added missing LF in trace.
2004-01-06 20:40:31 +00:00
Mike McCormack
a7270ec780
Improve error handling in CryptAcquireContext.
2003-11-18 20:40:12 +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
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +00:00
Michael Stefaniuc
082e0bfe93
Fix missing mem freeing on error path.
2003-10-01 03:14:29 +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
Alexandre Julliard
67dca1b794
Fixed prototypes of VTableProcStruc callback functions.
2003-07-21 23:50:39 +00:00
Andreas Mohr
f11cbe34cc
Trace format fix.
2003-03-31 19:32:46 +00:00
Aric Stewart
cae4c9086f
Only modify returned keys on success.
2002-08-13 18:05:19 +00:00
Alexandre Julliard
7375597fe2
Fixed some handle type mismatches and added a few casts in prevision
...
of void* handles.
2002-07-31 19:26:03 +00:00
Vincent Béron
e35580f4c9
Fixed some various comparisons wrt signedness.
2002-06-21 22:25:17 +00:00
James Juran
32886f6b88
Add missing \n to output messages.
2002-05-24 21:17:59 +00:00
Patrik Stridvall
fc2be7edcc
Fixed some issues found by winapi_check.
2002-04-29 18:48:56 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall
9ff202e65c
Fixed some issues found by winapi_check.
2002-01-18 18:57:43 +00:00
Travis Michielsen
e8273d6056
Implement advapi32 portion of the CryptoAPI.
2002-01-10 19:29:40 +00:00
Patrik Stridvall
e573aba23f
Fixed issue found by winapi_check.
2001-10-09 21:48:39 +00:00
Travis Michielsen
ef58632ac2
Created stubs for all cryptographic functions.
2001-09-12 17:09:56 +00:00
Patrik Stridvall
d0a41774a3
Documentation ordinal fixes.
2001-02-14 23:11:17 +00:00
James Hatheway
4c2c7af0cc
Added stubs for CryptGenRandom(), CryptReleaseContext().
2000-10-24 01:39:29 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Patrik Stridvall
3a9c476a03
Fixed documentation.
1999-10-31 02:07:05 +00:00
Patrik Stridvall
f4fca7c459
Eliminated warnings.
1999-09-11 16:27:20 +00:00
Eric Kohl
e2ab4d03e1
Added stub for CryptSetKeyParams().
1999-07-31 13:07:19 +00:00
Alexandre Julliard
9fe7a2545a
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-05-14 08:17:14 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Jim Aston
2e1cafa288
Renamed wintypes.h to windef.h.
1999-03-14 16:35:05 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Francois Gouget
289211cc3b
Fixed a number of warnings concerning the matching of the printf
...
format string and the associated parameters (actually it's mostly
TRACE and FIXMEs).
1999-02-17 16:15:11 +00:00
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Ian Schmidt
b67af9cd54
Added entries for most Crypt* calls.
...
Added stub for CryptAcquireContextA. This allows Win98 EXPLORER.EXE
to get farther.
1999-02-13 09:08:33 +00:00