Commit Graph

41 Commits

Author SHA1 Message Date
Andrew Talbot
4bdeb7dcb3 crypt32: Constify some variables. 2010-08-20 13:21:30 +02:00
Francois Gouget
d2cc5380db crypt32: Fix compilation on systems that don't support nameless unions. 2009-10-19 14:45:10 +02:00
Juan Lang
5cefdb68c5 crypt32: Fix potential buffer overruns in CertGetNameStringW. 2009-09-10 10:49:32 +02:00
Juan Lang
89173715b2 crypt32: Implement CertGetNameStringW for CERT_NAME_URL_TYPE. 2009-09-09 16:25:23 +02:00
Juan Lang
2fe736d928 crypt32: Implement CertGetNameStringW for CERT_NAME_DNS_TYPE. 2009-09-09 16:25:23 +02:00
Juan Lang
6dfe7bc3a6 crypt32: Implement CertGetNameStringW for CERT_NAME_EMAIL_TYPE. 2009-09-09 16:25:23 +02:00
Juan Lang
288c79cb16 crypt32: Implement CertGetNameStringW for CERT_NAME_RDN_TYPE. 2009-09-09 16:25:22 +02:00
Juan Lang
dfcd8a67c1 crypt32: Implement CertGetNameStringW for CERT_NAME_ATTR_TYPE. 2009-09-09 16:25:22 +02:00
Juan Lang
ef7cda722c crypt32: Further simplify CertGetNameStringW. 2009-09-09 16:25:22 +02:00
Juan Lang
4d2972c844 crypt32: Use a helper function to simplify CertGetNameStringW. 2009-09-09 16:25:22 +02:00
Juan Lang
7d83106427 crypt32: Return an empty string from CertGetNameStringW if a name couldn't be found. 2009-09-09 16:25:22 +02:00
Juan Lang
c7db5ee6a7 crypt32: Correct searching the alternate name in CertGetNameStringW if the main name doesn't contain an appropriate OID. 2009-09-09 16:25:22 +02:00
Andrew Talbot
85f9460a58 crypt32: Constify some variables. 2009-06-17 12:04:35 +02:00
Juan Lang
e9352b90f8 crypt32: Add a function to format a CERT_NAME_BLOB as an indented string, and implement CertNameToStrW on top of it. 2008-11-17 12:59:22 +01:00
Andrew Talbot
7a54be05f0 crypt32: Sign-compare warnings fix. 2008-09-24 12:52:52 +02:00
Huw Davies
1319b367fc crypt32: Add support for CERT_NAME_STR_REVERSE_FLAG. 2008-08-27 13:21:20 +02:00
Huw Davies
08c2b101f2 crypt32: Remove some unnecessary code. 2008-08-22 10:39:31 +02:00
Huw Davies
e714064515 crypt32: Don't decrease the size of the buffer, since we're already counting the characters that we're adding to it. 2008-08-22 10:39:28 +02:00
Andrew Talbot
5d886557df crypt32: Remove unneeded casts. 2007-12-31 17:44:51 +01:00
Juan Lang
159c8af56a crypt32: Use consistent error checking. 2007-11-02 12:38:21 +01:00
Juan Lang
644dedb75d crypt32: Free memory on all paths. 2007-11-02 12:38:15 +01:00
Juan Lang
81a382ac31 crypt32: Set last error on alloc failure. 2007-11-02 12:38:10 +01:00
Juan Lang
dda8053179 crypt32: Always set *ppszError. 2007-10-22 13:52:24 +02:00
Juan Lang
e0b8e37bf0 crypt32: Don't allocate a 0-length string. 2007-10-22 13:52:19 +02:00
Juan Lang
7cf611ef3b crypt32: Fail if MultiByteToWideChar converts 0 characters. 2007-10-22 13:52:09 +02:00
Juan Lang
05d2ab176a crypt32: Implement CertRDNValueToStr for UTF-8 strings. 2007-08-08 15:32:00 +02:00
Alexandre Julliard
df3ccaba24 crypt32: Fix an uninitialized variable compiler warning. 2007-06-26 21:30:41 +02:00
Jeff Latimer
417ae04ed9 crypt32: Fix possible dereference of NULL ptr. 2007-06-25 23:21:55 +02:00
Alexandre Julliard
c2cf60fcee crypt32: Fix incorrect usage of CharNextA. 2007-06-25 19:55:29 +02:00
Andrew Talbot
9f6a6427ef crypt32: Constify some variables. 2007-04-16 12:25:19 +02:00
Juan Lang
f3a1f2bf60 crypt32: Win64 printf format warning fixes. 2006-10-04 09:59:57 +02:00
Andrew Talbot
950b838e28 crypt32: Cast-qual warnings fix. 2006-09-07 13:44:42 +02:00
Juan Lang
5af2b06d47 crypt32: Support more types in CertRDNToStr. 2006-08-02 11:41:38 +02:00
Juan Lang
3882b4f66a crypt32: Implement CryptStrToNameA/W, with tests. 2006-07-27 12:22:35 +02:00
Juan Lang
9bce49543b crypt32: Correct handling of empty output buffer in CertRDNValueToStr and CertNameToStr. 2006-07-20 12:09:17 +02:00
Juan Lang
8d8520975f crypt32: Output x.500 strings from CertNameToStrA/W. 2006-07-18 11:19:05 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Juan Lang
8e7f30ef11 crypt32: Partially implement CertGetNameString. 2006-02-16 12:08:19 +01:00
Juan Lang
09b6cf971f crypt32: Output string type in trace. 2006-02-15 11:51:16 +01:00
Juan Lang
ede2e24a6a crypt32: Implement CertRDNValueToStrW and CertNameToStrW, with tests. 2006-02-02 13:19:30 +01:00
Juan Lang
6a3b3f8635 crypt32: Implement CertRDNValueToStrA and CertNameToStrA, with tests. 2006-02-01 13:50:18 +01:00