From: Niels Möller Date: Mon, 12 Oct 2009 10:16:01 +0000 (+0200) Subject: Fixed typo preventing compilation of dsa_private_key_from_der_iterator. X-Git-Tag: camellia_32bit_20100720~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf34be550f1704df612613ba22fb06f1fc75cad1;p=thirdparty%2Fnettle.git Fixed typo preventing compilation of dsa_private_key_from_der_iterator. Rev: nettle/der2dsa.c:1.2 --- diff --git a/der2dsa.c b/der2dsa.c index 61529b48..de8b4c85 100644 --- a/der2dsa.c +++ b/der2dsa.c @@ -84,7 +84,7 @@ dsa_private_key_from_der_iterator(struct dsa_public_key *pub, uint32_t version; return (i->type == ASN1_SEQUENCE - asn1_der_decode_constructed_last(i) == ASN1_ITERATOR_PRIMITIVE + && asn1_der_decode_constructed_last(i) == ASN1_ITERATOR_PRIMITIVE && i->type == ASN1_INTEGER && asn1_der_get_uint32(i, &version) && version == 0