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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user