Francois Gouget
3ef8c51c8a
Tweak the API documentation to silence winapi_check warnings.
2005-04-20 15:18:42 +00:00
Michael Jung
44cb0906da
Make crypt functions more robust in case of incorrect api usage.
2005-04-11 12:55:36 +00:00
Michael Jung
46d2be988a
Removed the incomplete signature checking code.
2005-03-30 18:56:41 +00:00
Michael Jung
a3b97e051a
Respect the sDescription parameter in CryptSignHash and
...
CryptVerifySignature.
2004-12-21 14:34:18 +00:00
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
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