help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCRAM-SHA-1 support in GSASL


From: Simon Josefsson
Subject: Re: SCRAM-SHA-1 support in GSASL
Date: Fri, 06 Nov 2009 14:09:44 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> Lothar May <address@hidden> writes:
>
>> Hi Simon,
>>
>> 2009/9/25 Simon Josefsson <address@hidden>:
>>>> Thanks for the fix. After testing on Linux, I'm currently trying to
>>>> build it on Windows. Some sha1-defines related issues can be solved by
>>>> editing the default config.h.
>>>
>>> Hi!  What kind of issue?  Maybe something could be improved to make it
>>> easier (although sha1 is from gnulib so any fix needs to be generic).
>>
>> I'm using the msvc project solution in lib/win32. I had to perform the
>> following steps:
>>
>> - add missing source files from lib/gl (I added *.c except
>> "gc-libgcrypt.c" and "memchr.c")
>> - add source files from lib/scram
>> - remove digest-md5 files and deactivate it in config.h (seems to have
>> external dependencies)
>> - add to config.h:
>> #define GNULIB_GC_SHA1 1
>> #define GNULIB_GC_HMAC_SHA1 1
>> #define USE_SCRAM_SHA1 1
>> (the later is probably what is done by the --enable-scram-sha1 option
>> when using configure)
>
> Thanks, I have done this in the official git repository now.  It didn't
> make it into 1.3.90 though.  Digest-md5 should not have any external
> dependencies, though, so could you check what the error message was?
> Also maybe I missed some gl/ file.

I have now checked that gsasl built from git sources build under MS VS
for me.  I had to apply several other changes.  I also disable all the
obsolete GNU SASL APIs, I hope nobody were using those when building as
a VS project.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]