[bcrypt] add missing definitions

Marcus Meissner meissner at suse.de
Tue Jan 14 10:15:07 CST 2014


Hi,

The L"string" notation is not going to work, Dmitry did not 
point out that specifically ;)

L"strings" generate 4 byte multichar strings, while Windows
expects 2 byte multichar strings.

You need something like
WCHAR foo[] = {'M','i','c'.... , 0 }; notation

Ciao, Marcus
On Tue, Jan 14, 2014 at 05:09:00PM +0100, Vijay Kiran Kamuju wrote:
> Hmm... This is as per the mingw headers.
> 
> Then should I remove the definition of the Microsoft primitive provider .
> 
> Thanks,
> Vijay
> 
> On Tue, Jan 14, 2014 at 11:13 AM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> > Vijay Kiran Kamuju <infyquest at gmail.com> wrote:
> >
> >> +#define MS_PRIMITIVE_PROVIDER                   L"Microsoft Primitive Provider"
> >> +
> >> +/* Algorithm Identifiers */
> >> +#define BCRYPT_RSA_ALGORITHM                    L"RSA"
> >
> > This can't work properly in Wine.
> >
> > --
> > Dmitry.
> 
> 
> 



More information about the wine-devel mailing list