Utils from unbound update

This commit is contained in:
Willem Toorop 2018-02-12 15:54:43 +01:00
parent 31e5cd5ab6
commit 1ebd54a1de
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ static int
setup_ecdsa_sig(unsigned char** sig, unsigned int* len)
{
/* convert from two BIGNUMs in the rdata buffer, to ASN notation.
* ASN preable: 30440220 <R 32bytefor256> 0220 <S 32bytefor256>
* ASN preamble: 30440220 <R 32bytefor256> 0220 <S 32bytefor256>
* the '20' is the length of that field (=bnsize).
i * the '44' is the total remaining length.
* if negative, start with leading zero.