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

3632. [bug] Signature from newly inactive keys were not being

removed.  [RT #32178]
This commit is contained in:
Mark Andrews
2013-08-15 10:48:05 +10:00
parent 5f630b9417
commit 7ace327795
14 changed files with 147 additions and 14 deletions

View File

@@ -935,6 +935,23 @@ dst_key_restore(dns_name_t *name, unsigned int alg, unsigned int flags,
unsigned int protocol, dns_rdataclass_t rdclass,
isc_mem_t *mctx, const char *keystr, dst_key_t **keyp);
isc_boolean_t
dst_key_inactive(const dst_key_t *key);
/*%<
* Determines if the private key is missing due the key being deemed inactive.
*
* Requires:
* 'key' to be valid.
*/
void
dst_key_setinactive(dst_key_t *key, isc_boolean_t inactive);
/*%<
* Set key inactive state.
*
* Requires:
* 'key' to be valid.
*/
ISC_LANG_ENDDECLS