Alexandre Julliard
8738b038a4
crypt32: Increase buffer size to silence a gcc warning.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-30 09:42:17 +02:00
Frédéric Delanoy
4cece0dd43
crypt32: Use BOOL type where appropriate.
2014-01-09 12:11:33 +01:00
Frédéric Delanoy
56f035b56d
crypt32: Avoid reading unitialized variables (Coverity).
2011-12-19 20:15:42 +01:00
Frédéric Delanoy
f73733b8b0
crypt32: Remove dead code (Clang).
2011-07-05 14:42:40 +02:00
Juan Lang
3cdd20f91d
crypt32: Don't assign a count value unless memory allocation succeeds (clang).
2011-02-16 14:26:27 +01:00
Juan Lang
9e6de30f8f
crypt32: Don't attempt to find the length of a NULL string (valgrind).
2011-02-11 17:42:17 +01:00
Juan Lang
a9efbf8926
crypt32: Remove no-ops.
2011-01-19 12:32:30 +01:00
Juan Lang
687e29b912
crypt32: Fix memory leaks when encoding fails.
2011-01-19 12:32:19 +01:00
Marcus Meissner
aa16c89b29
crypt32: NULL ptr could leak into function (Coverity).
2010-12-31 16:27:36 +01:00
Alexander Morozov
6ad5416f32
crypt32: Implement getting content of an enveloped message.
2010-12-02 15:01:09 +01:00
Andrew Talbot
28e1ec4467
crypt32: Constify some variables.
2010-08-16 13:46:37 +02:00
Michael Stefaniuc
0a866d0e45
crypt32: Avoid using HIWORD() on a string pointer.
...
The stray IS_INTRESOURCE() is applied to a true resource. The other
strings are OIDs and not resources.
2010-01-29 14:59:02 +01:00
Juan Lang
91fbdb561a
crypt32: The KeyId member of an authority key identifier is an octet string, not an integer.
2009-12-03 10:16:53 +01:00
Juan Lang
32ad424972
crypt32: Implement encoding cert policy constraints.
2009-11-09 19:58:28 +01:00
Juan Lang
bf5e4d9bb7
crypt32: Implement encoding cert policy mappings.
2009-11-09 19:58:07 +01:00
Juan Lang
4ccafdcb6f
crypt32: Fix encoding cert issuer/subject unique ids.
2009-11-09 19:57:45 +01:00
Juan Lang
e1903dc6e0
crypt32: Encode public keys with NULL parameters if they're empty (and make tests more restrictive).
2009-10-21 16:05:56 +02:00
Juan Lang
d8ca5bc348
crypt32: Use helper function to encode public keys for hashing.
...
This is necessary because the publicly callable form embeds the asn.1
NULL value when the parameters are empty, whereas the hash value
expects that it's missing.
2009-10-21 16:05:56 +02:00
Juan Lang
c97e442a28
crypt32: Add a helper function to encode a cert's public key.
2009-10-21 16:05:55 +02:00
Juan Lang
43182842cd
crypt32: Set an output parameter on the success path.
2009-10-21 16:05:55 +02:00
Juan Lang
37754e49c8
crypt32: Pass pointer to structure rather than assuming a particular alignment.
2009-10-12 12:13:48 +02:00
Alexandre Julliard
d5d3efd592
crypt32: Fix a couple of assumptions about structure layout.
2009-06-22 14:53:24 +02:00
Andrew Talbot
465a583f27
crypt32: Constify some variables.
2009-06-15 13:42:30 +02:00
Juan Lang
7127985641
crypt32: Implement PFXExportCertStore on top of PFXExportCertStoreEx.
2009-01-28 12:08:23 +01:00
Juan Lang
6e32746f6e
crypt32: Add stub for PFXExportCertStoreEx.
2009-01-28 12:08:15 +01:00
Michael Stefaniuc
4eaaa913f8
crypt32: Remove some more superfluous pointer casts.
2009-01-26 14:31:08 +01:00
Juan Lang
519478e048
crypt32: Fix encoding OIDs with only two components.
2008-12-20 10:59:14 +01:00
Alexandre Julliard
7d4bc8503b
crypt32: Make some functions and variables static.
2008-12-02 15:27:40 +01:00
Francois Gouget
451f642e16
crypt32: Remove WINAPI on static functions where not needed.
2008-11-24 14:18:42 +01:00
Juan Lang
8b4f53bb26
crypt32: Implement encoding CERT_POLICIES_INFO.
2008-11-17 13:51:15 +01:00
Juan Lang
3dd2cc5eaa
crypt32: Implement encoding CERT_POLICY_QUALIFIER_USER_NOTICE.
2008-11-17 13:51:04 +01:00
Andrew Talbot
610dbbdae5
crypt32: Sign-compare warnings fix.
2008-09-24 12:52:46 +02:00
Juan Lang
a96361361d
crypt32: Implement encoding CTLs.
2008-08-28 11:49:34 +02:00
Juan Lang
2d02ec7488
crypt32: Don't ignore errors when encoding items in an array.
2008-08-28 11:24:48 +02:00
Juan Lang
7e848b6cdc
crypt32: Implement authority info access encoding.
2008-08-28 11:03:56 +02:00
Juan Lang
db6c8e23b6
crypt32: Add support for encoding PKCS_SMIME_CAPABILITIES.
2008-08-21 11:35:54 +02:00
Juan Lang
282eb73bc3
crypt32: Use CMS messages rather than PKCS messages internally.
2008-08-21 11:32:53 +02:00
Juan Lang
817adc5599
crypt32: Implement CMSG_CMS_SIGNER_INFO encoding.
2008-08-20 10:23:50 +02:00
Juan Lang
1799ceb8c1
crypt32: Free memory using the correct function on failure.
2008-08-19 12:20:40 +02:00
Michael Karcher
8fa3b6871f
crypt32: Pass on aiKeyAlg on RSA key import.
2008-05-26 17:59:07 +02:00
Michael Karcher
a3223df865
crypt32: Fix order-of-evaluation dependence.
2008-05-26 17:59:03 +02:00
Michael Karcher
a6087662ba
crypt32: Fix integer overflow.
2008-05-26 17:58:58 +02:00
Andrew Talbot
8a1d3b334d
crypt32: Remove unwanted shadow variable.
2008-04-15 15:31:15 +02:00
Bang Jun-young
dee7722b07
crypt32: Include wine/port.h for snprintf().
2008-02-04 14:18:20 +01:00
Juan Lang
f64d600494
crypt32: Don't leak buffer when a unicode string contains an invalid character.
2007-11-02 12:22:21 +01:00
Juan Lang
d34b3bf63c
crypt32: Don't assume string pointer has been set if length is 0.
2007-10-22 13:52:15 +02:00
Juan Lang
9568cead65
crypt32: Replace a private type with a public one.
2007-10-22 12:36:07 +02:00
Gerald Pfeifer
119e4d4955
crypt32: Fix incorrect casts in X509_CERT and friends.
2007-10-16 09:36:14 +02:00
Juan Lang
942fb6c3eb
crypt32: Implement name constraint encoding.
2007-10-11 22:22:33 +02:00
Juan Lang
36886f7dd1
crypt32: Add/improve some traces.
2007-09-28 11:30:40 +02:00