Branch: Tag:

2015-01-25

2015-01-25 01:31:10 by Martin Nilsson <nilsson@opera.com>

Changed curve() into get_curve() to be consistent with the other methods, and to properly mask the get_curve() in Nettle.ECC_Curve.ECDSA.

46:    [int(0..)]((ecdsa->size() + 7)>>3),    ecdsa->get_private_key())),    // parameters [0] ECParameters {{ NamedCurve }} OPTIONAL, -  TaggedType0(ecdsa->curve()->pkcs_ec_parameters()), +  TaggedType0(ecdsa->get_curve()->pkcs_ec_parameters()),    // publicKey [1] BIT STRING OPTIONAL    TaggedType1(BitString(ecdsa->get_public_key())),    }))->get_der();