diff options
| author | Petr Špaček <petr.spacek@nic.cz> | 2020-06-18 11:24:10 +0200 |
|---|---|---|
| committer | Petr Špaček <petr.spacek@nic.cz> | 2020-06-18 11:24:10 +0200 |
| commit | 0e7e20c1d0b901282804839cb3401a744304788d (patch) | |
| tree | 57c7091e505b9a234d6fd36c9d48fe29bcb19dcb /dns | |
| parent | 4f7b0e3c981d4d076d1f248f6f47b75d5e63ba63 (diff) | |
| download | dnspython-0e7e20c1d0b901282804839cb3401a744304788d.tar.gz | |
DS: support mnemonic format from RFC 4034 section 5.3
Diffstat (limited to 'dns')
| -rw-r--r-- | dns/rdtypes/dsbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdtypes/dsbase.py b/dns/rdtypes/dsbase.py index 4f082c7..59f6e83 100644 --- a/dns/rdtypes/dsbase.py +++ b/dns/rdtypes/dsbase.py @@ -46,7 +46,7 @@ class DSBase(dns.rdata.Rdata): def from_text(cls, rdclass, rdtype, tok, origin=None, relativize=True, relativize_to=None): key_tag = tok.get_uint16() - algorithm = tok.get_uint8() + algorithm = dns.dnssec.algorithm_from_text(tok.get_string()) digest_type = tok.get_uint8() chunks = [] while 1: |
