]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Document ASN contents.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 17 Nov 2015 14:36:10 +0000 (14:36 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 17 Nov 2015 14:36:10 +0000 (14:36 +0000)
git-svn-id: file:///svn/unbound/trunk@3542 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/val_secalgo.c

index b06fe9766a88ea208e0da923166fc4fba723ea47..7c8d7b2871825f624015d8008bc5a36259edf557 100644 (file)
@@ -1303,6 +1303,7 @@ _verify_nettle_dsa(sldns_buffer* buf, unsigned char* sigblock,
                nettle_mpz_set_str_256_u(signature.s, 20, sigblock+1+20);
        } else {
                /* DER encoded, decode the ASN1 notated R and S bignums */
+               /* SEQUENCE { r INTEGER, s INTEGER } */
                struct asn1_der_iterator i, seq;
                if(asn1_der_iterator_first(&i, sigblock_len,
                        (uint8_t*)sigblock) != ASN1_ITERATOR_CONSTRUCTED