[Patch 1/2] Demonstrate that CryptStringToBinary can take arbitrary key headers and trailers

Andrew Bogott Andrew at CodeWeavers.com
Sat Apr 23 10:18:40 CDT 2011


I've been trying to use public key validation in Wine, and discovered 
that I can't load a public key because CryptStringToBinary rejected a 
key with a '-----BEGIN PUBLIC KEY-----' header.

This patch demonstrates that arbitrary key headers are acceptable on 
windows.  The next patch changes crypt32 accordingly.

---
   dlls/crypt32/tests/base64.c |    5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Demonstrate-that-CryptStringToBinary-can-take-arbitr.patch
Type: text/x-patch
Size: 1413 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110423/55fedc3a/attachment.bin>


More information about the wine-patches mailing list