[openssl-dev] Seeking feedback on some #ifdef changes

Tomas Mraz tmraz at redhat.com
Fri Mar 6 12:06:15 UTC 2015


On 5.3.2015 18:27, Salz, Rich wrote:
>> Sorry for responding late to this thread, but has anyone considered consolidating the following three definitions:
>> OPENSSL_NO_EC
>> OPENSSL_NO_ECDH
>> OPENSSL_NO_EDDSA
>> Is there a valid case where all three of these wouldn't be used together?  Would the code even compile if only one (or two) of these were defined?
>
> I would be happy to unify these, and you are probably right that the various mix and match options do not work.
>
> Does anyone here have issues or concerns if we do that?

If you still keep the OPENSSL_NO_EC2M separate, then I do not have any 
problem with this. However I would expect these three ifdefs to work - 
of course with OPENSSL_NO_EC implying the NO_ECDH amd NO_ECDSA. Although 
I did not try it myself.

Tomas Mraz


More information about the openssl-dev mailing list