small updates

This commit is contained in:
Miek Gieben 2012-03-18 22:47:06 +01:00
parent f38cd6abe0
commit da230e4ff5
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ need to be fixed.
* Speed, we can always go faster. A simple reflect server now hits 35/45K qps
* go test; only works correct on my machine
* Add handy zone data structure (r/b tree)? Or not...
* dnssec: DSA (also the keytag)
## Examples to add

View File

@ -25,6 +25,7 @@ func (r *RR_DNSKEY) Generate(bits int) (PrivateKey, error) {
if bits < 512 || bits > 4096 {
return nil, ErrKeySize
}
// TODO: check these limits
case RSASHA512:
if bits < 1024 || bits > 4096 {
return nil, ErrKeySize