aboutsummaryrefslogtreecommitdiffstats
path: root/ldns/dnssec_sign.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldns/dnssec_sign.h')
-rw-r--r--ldns/dnssec_sign.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldns/dnssec_sign.h b/ldns/dnssec_sign.h
index f51c7fb38121..a88a46affab1 100644
--- a/ldns/dnssec_sign.h
+++ b/ldns/dnssec_sign.h
@@ -13,6 +13,7 @@ extern "C" {
/** Sign flag that makes DNSKEY type signed by all keys, not only by SEP keys*/
#define LDNS_SIGN_DNSKEY_WITH_ZSK 1
+#define LDNS_SIGN_WITH_ALL_ALGORITHMS 2
/**
* Create an empty RRSIG RR (i.e. without the actual signature data)
@@ -21,8 +22,8 @@ extern "C" {
* \return signature rr
*/
ldns_rr *
-ldns_create_empty_rrsig(ldns_rr_list *rrset,
- ldns_key *key);
+ldns_create_empty_rrsig(const ldns_rr_list *rrset,
+ const ldns_key *key);
/**
* Sign the buffer which contains the wiredata of an rrset, and the