]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
minor stuff
authorMiek Gieben <miekg@NLnetLabs.nl>
Mon, 21 Mar 2005 14:07:44 +0000 (14:07 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Mon, 21 Mar 2005 14:07:44 +0000 (14:07 +0000)
TODO
keys.c

diff --git a/TODO b/TODO
index 88bb6ea05cb2bce8aac9e1e0781868ff1a6512bf..ab9bc2c7087b0996c73817047841ddc576b67b51 100644 (file)
--- a/TODO
+++ b/TODO
@@ -7,6 +7,7 @@ o Signing
 o Different digests for DS
  - need a digest type?
 o NSEC generation??
+o openssl's setup function (esp. random)
 
 Implementation:
 ---------------
diff --git a/keys.c b/keys.c
index 8764773b7217c4d4c20882d3af354d64df8fcef1..6ad650eecceca606649760bd764488d72424639e 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -80,6 +80,7 @@ ldns_key_new_frm_algorithm(ldns_signing_algorithm alg, int size)
                        /* do your hmac thing here */
                        break;
        }
+       ldns_key_set_algorithm(k, alg);
        return k;
 }
 
@@ -283,5 +284,11 @@ ldns_key_list_pop_key(ldns_key_list *key_list)
 ldns_rr *
 ldns_key2rr(ldns_key *ATTR_UNUSED(k))
 {
+       /* need a owner, 
+        * keytag
+        * pub key values
+        * proto
+        * algorthm
+        */
        return NULL;
 }