diff options
Diffstat (limited to 'lib/dns/dst_api.c')
-rw-r--r-- | lib/dns/dst_api.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dns/dst_api.c b/lib/dns/dst_api.c index 93dda089..64162737 100644 --- a/lib/dns/dst_api.c +++ b/lib/dns/dst_api.c @@ -443,6 +443,16 @@ dst_key_tofile(const dst_key_t *key, int type, const char *directory) { return (ISC_R_SUCCESS); } +void +dst_key_setexternal(dst_key_t *key, isc_boolean_t value) { + key->external = value; +} + +isc_boolean_t +dst_key_isexternal(dst_key_t *key) { + return (key->external); +} + isc_result_t dst_key_fromfile(dns_name_t *name, dns_keytag_t id, unsigned int alg, int type, const char *directory, |