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

Need to take address of signer.

This commit is contained in:
Mark Andrews
1999-10-08 06:54:23 +00:00
parent d2358a453e
commit 41a28deee4
2 changed files with 4 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ keythatsigned(dns_rdata_generic_sig_t *sig) {
signer_key_t *key;
isc_buffer_init(&b, keyname, sizeof(keyname), ISC_BUFFERTYPE_BINARY);
result = dns_name_totext(sig->signer, ISC_FALSE, &b);
result = dns_name_totext(&sig->signer, ISC_FALSE, &b);
check_result(result, "dns_name_totext()");
key = ISC_LIST_HEAD(keylist);
@@ -272,7 +272,7 @@ signset(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
if (sig.timesigned > sig.timeexpire)
; /* sig is dropped and not replaced */
else if (key == NULL && !future &&
expecttofindkey(sig.signer, db, version))
expecttofindkey(&sig.signer, db, version))
; /* sig is dropped and not replaced */
else if (key == NULL || future) {
if (!expired)

View File

@@ -148,7 +148,7 @@ keythatsigned(dns_rdata_generic_sig_t *sig) {
signer_key_t *key;
isc_buffer_init(&b, keyname, sizeof(keyname), ISC_BUFFERTYPE_BINARY);
result = dns_name_totext(sig->signer, ISC_FALSE, &b);
result = dns_name_totext(&sig->signer, ISC_FALSE, &b);
check_result(result, "dns_name_totext()");
key = ISC_LIST_HEAD(keylist);
@@ -272,7 +272,7 @@ signset(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
if (sig.timesigned > sig.timeexpire)
; /* sig is dropped and not replaced */
else if (key == NULL && !future &&
expecttofindkey(sig.signer, db, version))
expecttofindkey(&sig.signer, db, version))
; /* sig is dropped and not replaced */
else if (key == NULL || future) {
if (!expired)