coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] md5sum, sha*sum: use libcrypto where available


From: Bernhard Voelker
Subject: Re: [PATCH] md5sum, sha*sum: use libcrypto where available
Date: Wed, 04 Dec 2013 16:58:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 12/04/2013 02:45 PM, Pádraig Brady wrote:
> On 12/04/2013 01:39 PM, Bernhard Voelker wrote:
>>   --with-openssl          The coreutils default is: --with-openssl=optional
>>   --with-openssl          use libcrypto hash routines. Valid ARGs are: 'yes',
>>                           'no', 'optional' => use if available
> 
> I've documented the reason for that at least in configure.ac:
> 
> dnl Enable use of libcrypto if available.
> dnl Note we could do this as follows:
> dnl   AS_VAR_SET_IF([with_openssl], [], [with_openssl=optional])
> dnl However that would not document the coreutils adjusted default,
> dnl so we add another --with-openssl description just to document that
> 
> It's the best I could come up with for now,
> and I don't think it's too bad?

Well, I think it's confusing because of the names:
'openssl' and 'libcrypto' (shouldn't the latter be 'libgcrypt'?) are
distinct packages on an actual system, so I don't see how a user may
choose between them with 'yes'|'no'|'optional'.
What do I miss?

Have a nice day,
Berny



reply via email to

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