mirror of https://github.com/getdnsapi/getdns.git
Utils from unbound update
This commit is contained in:
parent
31e5cd5ab6
commit
1ebd54a1de
|
@ -322,7 +322,7 @@ static int
|
||||||
setup_ecdsa_sig(unsigned char** sig, unsigned int* len)
|
setup_ecdsa_sig(unsigned char** sig, unsigned int* len)
|
||||||
{
|
{
|
||||||
/* convert from two BIGNUMs in the rdata buffer, to ASN notation.
|
/* 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).
|
* the '20' is the length of that field (=bnsize).
|
||||||
i * the '44' is the total remaining length.
|
i * the '44' is the total remaining length.
|
||||||
* if negative, start with leading zero.
|
* if negative, start with leading zero.
|
||||||
|
|
Loading…
Reference in New Issue