Branch: Tag:

2014-08-28

2014-08-28 20:13:35 by Per Hedbor <ph@opera.com>

Silence type warning when Crypto.ECC.Curve is missing (old nettle)

filter() seems to get the return type wrong.

226: Inside #if constant(Crypto.ECC.Curve) && constant(Crypto.SHA512) && \
   constant(Crypto.SHA384) && constant(Crypto.SHA224)    return signature_algorithms;   #else -  return filter(signature_algorithms, +  return [array(array(int))] +  filter(signature_algorithms,    lambda(array(int) pair) {    [int hash, int sign] = pair;   #if !constant(Crypto.ECC.Curve)