Nikolay Sivov
71f3a22519
crypt32: Add CRYPT_STRING_BINARY mode for CryptBinaryToStringW().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 16:33:53 +02:00
Nikolay Sivov
09a785cb4d
crypt32: Fix formatted output length for base64.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 17:07:58 +02:00
Nikolay Sivov
5652a19110
crypt32: Fix output buffer handling for CRYPT_STRING_BINARY case.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 17:07:56 +02:00
Nikolay Sivov
d18d38bc98
crypt32: Fix NULL output buffer handling for CryptBinaryToString().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 17:07:54 +02:00
Nikolay Sivov
fb53f6e79d
crypt32/base64: Fix certificate request header and trailer in CryptBinaryToStringW() output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-25 21:45:04 +02:00
Nikolay Sivov
3dcdbba6ef
crypt32: Fix string arguments tracing.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Lauri Kenttä
e37612329f
crypt32: Remove unused parameter and dead code.
...
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:07 +01:00
Lauri Kenttä
254eb21c6f
crypt32: Fix wrong Base64 trailer WCHAR constants.
...
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:07 +01:00
Lauri Kenttä
a2f2de1e96
crypt32: CryptStringToBinary accepts any header.
...
For example, X509 CRL accepts -----BEGIN foo-----.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 21:39:29 +01:00
Lauri Kenttä
552820acbf
crypt32: Fix Base64 issues in CryptStringToBinary.
...
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 21:39:29 +01:00
Lauri Kenttä
e353ab6d30
crypt32: Base64 header requires a space.
...
-----BEGIN----- is not accepted, -----BEGIN ----- is. Same for END.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 21:39:29 +01:00
Michael Stefaniuc
2793be9c6d
crypt32: Avoid TRUE:FALSE conditional expressions.
2012-08-13 11:49:49 +02:00
Frédéric Delanoy
f73733b8b0
crypt32: Remove dead code (Clang).
2011-07-05 14:42:40 +02:00
Andrew Bogott
d16bed15b6
crypt32: Rework Base64WithHeaderAndTrailerToBinaryA and Base64WithHeaderAndTrailerToBinaryW so that they accept a wider variety of headers and trailers.
2011-04-25 19:38:25 +02:00
Joris Huizer
4d41bdd107
crypt32: Remove helper variable i (Clang).
2011-02-08 14:48:43 -06:00
Gerald Pfeifer
ca41486b8a
crypt32: Fix type of empty in encodeBase64W().
2010-03-26 10:32:23 +01:00
Juan Lang
7eb61a6e5c
crypt32: Use an empty string as a separator when no separator is desired to avoid special cases for NULL.
2010-03-24 21:15:31 +01:00
Juan Lang
67bf4dc62e
crypt32: Fix overestimating size required for base64-encoded strings.
2010-03-22 10:42:41 +01:00
Juan Lang
fc0aff0d2e
crypt32: Add support for the CRYPT_STRING_NOCRLF flag to CryptBinaryToStringA/W.
2009-11-03 21:16:12 +01:00
Juan Lang
2d5ac92d9a
crypt32: Partially implement CryptBinaryToStringW.
2009-11-03 21:15:55 +01:00
Juan Lang
a104479da1
crypt32: Implement CryptStringToBinaryW.
2008-12-12 11:40:11 +01:00
Juan Lang
f3a1f2bf60
crypt32: Win64 printf format warning fixes.
2006-10-04 09:59:57 +02:00
Juan Lang
23791c2510
crypt32: Implement CryptBinaryToStringA and CryptStringToBinaryA.
...
Implement CryptBinaryToStringA and CryptStringToBinaryA based on Kai
Blin's base64 encoder/decoder.
2006-05-31 11:58:40 +02:00