[PATCH v3] Add libgcrypt as an option for sha1

Matthieu Herrb matthieu.herrb at laas.fr
Thu Oct 22 07:31:33 PDT 2009

Matthieu Herrb wrote:
> Julien Cristau wrote:
>> On Thu, Oct 15, 2009 at 00:47:25 +0200, Julien Cristau wrote:
>>> On Sun, Oct  4, 2009 at 23:21:31 +1100, Daniel Stone wrote:
>>>> If you break it all out into separate utility functions in os/ or dix/
>>>> (e.g. [0] or similar) and document the result at least in the header
>>>> file you add it to, I'll even test it. :)
>>> See attached patches.  Patch #1 adds x_sha1_{init,update,final}() to os/
>>> and makes render use that.  Patch #2 adds the --with-sha1= option, and
>>> #3 adds libgcrypt.
>> Daniel, do you want to take this or should I push it to my repo?
>> Matthieu, is this series workable for you?
> I'll try to check it later today.

Those patches work. With those, configure on OpenBSD picks libcrypto for

Once these patches are committed, I'll submit a patch to probe and use
sha1 in libc when available.

Matthieu Herrb

More information about the xorg-devel mailing list