]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
enum defined for hashing algs in DS rr
authorMiek Gieben <miekg@NLnetLabs.nl>
Tue, 7 Feb 2006 11:11:38 +0000 (11:11 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Tue, 7 Feb 2006 11:11:38 +0000 (11:11 +0000)
Changelog
ldns/keys.h

index 9e6586cf403f33382e4c5a815d0a212810e2018b..f4fe917b33ce55eadac398a96d3db3b4722ec007 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -13,6 +13,8 @@ XX Jan 2006: 1.1.0: ldns-team
          Ofcourse all dnssec/tsig related functions are disabled
        * Building of examples and drill now happens with the same
          defines as the building of ldns itself.
+       * Preliminary sha-256 support was added. Currently is your
+         OpenSSL supports it, it is supported in the DS creation.
 
        Drill:
        * -r was killed in favor of -o <header bit mnemonic> which 
index 0213460d2b5a3dcb2994d889e3bde1b4dbff4ac7..d448025bd2b26079e96f3aa0506f227835b24ff2 100644 (file)
@@ -41,6 +41,16 @@ enum ldns_enum_algorithm
 };
 typedef enum ldns_enum_algorithm ldns_algorithm;
 
+/**
+ * hashing algorithms use in the DS record
+ */
+enum ldns_enum_hash
+{
+        LDNS_SHA1               = 1,
+        LDNS_SHA256             = 2
+};
+typedef enum ldns_enum_hash ldns_hash;
+
 /**
  * algorithms used in dns for signing
  */