2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

added msg.verify_attempted, renamed msg.verify_sig0 to verify_sig

This commit is contained in:
Brian Wellington
2000-03-13 19:27:35 +00:00
parent 915723e400
commit f7fbd68b1c
4 changed files with 21 additions and 11 deletions

View File

@@ -16,7 +16,7 @@
*/
/*
* $Id: tsig.c,v 1.46 2000/02/03 23:44:01 halley Exp $
* $Id: tsig.c,v 1.47 2000/03/13 19:27:34 bwelling Exp $
* Principal Author: Brian Wellington
*/
@@ -562,6 +562,8 @@ dns_tsig_verify(isc_buffer_t *source, dns_message_t *msg,
if (msg->tsigkey != NULL)
REQUIRE(VALID_TSIG_KEY(msg->tsigkey));
msg->verify_attempted = 1;
if (msg->tcp_continuation)
return(dns_tsig_verify_tcp(source, msg));
@@ -776,6 +778,8 @@ dns_tsig_verify(isc_buffer_t *source, dns_message_t *msg,
return (DNS_R_TSIGERRORSET);
}
msg->verified_sig = 1;
return (ISC_R_SUCCESS);
cleanup_key: