diff options
author | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-08-09 06:05:46 +0000 |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-08-09 06:05:46 +0000 |
commit | b5350a17caeb78334343ba605e13a451beec4e0c (patch) | |
tree | 40b0527dab0dc21db0dc1928ff5f87e275c0b0fb /contrib/bind | |
parent | d97e53132932eb1e857ab54ec9ce354668507f1c (diff) | |
parent | dc52d6ea981baa63afcff51794d6da17db41b2da (diff) | |
download | src-b5350a17caeb78334343ba605e13a451beec4e0c.tar.gz src-b5350a17caeb78334343ba605e13a451beec4e0c.zip |
This commit was generated by cvs2svn to compensate for changes in r81340,
which included commits to RCS files with non-trunk default branches.
Notes
Notes:
svn path=/head/; revision=81341
Diffstat (limited to 'contrib/bind')
-rw-r--r-- | contrib/bind/lib/dst/support.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/bind/lib/dst/support.c b/contrib/bind/lib/dst/support.c index d191eb4e4531..2dd2a8c17726 100644 --- a/contrib/bind/lib/dst/support.c +++ b/contrib/bind/lib/dst/support.c @@ -1,4 +1,4 @@ -static const char rcsid[] = "$Header: /proj/cvs/isc/bind8/src/lib/dst/support.c,v 1.9 2001/04/05 22:00:06 bwelling Exp $"; +static const char rcsid[] = "$Header: /proj/cvs/isc/bind8/src/lib/dst/support.c,v 1.9.2.1 2001/06/06 21:45:17 marka Exp $"; /* @@ -243,6 +243,9 @@ dst_s_dns_key_id(const u_char *dns_key_rdata, const int rdata_len) if (dns_key_rdata[3] == KEY_RSA) /* Algorithm RSA */ return dst_s_get_int16((u_char *) &dns_key_rdata[rdata_len - 3]); + else if (dns_key_rdata[3] == KEY_HMAC_MD5) + /* compatibility */ + return 0; else /* compute a checksum on the key part of the key rr */ return dst_s_id_calc(dns_key_rdata, rdata_len); |