]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
More vallog reason. Doxygen.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 8 Oct 2009 06:35:14 +0000 (06:35 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 8 Oct 2009 06:35:14 +0000 (06:35 +0000)
git-svn-id: file:///svn/unbound/trunk@1869 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
validator/val_utils.h
validator/validator.c

index c838335e0ec59e2d289bf802c50fa19f9d89ec9a..34ec07e8b8f3026ebc4623cb94e5d3cfa4667de1 100644 (file)
@@ -1,3 +1,7 @@
+8 October 2009: Wouter
+       - please doxygen
+       - add val-log-level print to corner case (nameserver.epost.bg).
+
 7 October 2009: Wouter
        - retry for validation failure in DS and prime results. Less mem use.
          unit test.  Provisioning in other tests for requeries.
index ab6e518aeb54b709ce82a82020974a1c02ec7ba4..f5e865be415fd688684012987eb4e287fae77980 100644 (file)
@@ -322,7 +322,7 @@ void val_errinf(struct module_qstate* qstate, struct val_qstate* vq,
  * Append text to error info:  from 1.2.3.4
  * @param qstate: query state.
  * @param vq: validator state.
- * @param list: sock list with origin of trouble. 
+ * @param origin: sock list with origin of trouble. 
  *     Every element added.
  *     If NULL: nothing is added.
  *     if 0len element: 'from cache' is added.
@@ -345,7 +345,6 @@ void val_errinf_rrset(struct module_qstate* qstate, struct val_qstate* vq,
  * @param vq: validator state.
  * @param str: explanation string
  * @param dname: the dname.
- * @param rr: rrset_key.
  */
 void val_errinf_dname(struct module_qstate* qstate, struct val_qstate* vq, 
        const char* str, uint8_t* dname);
index d155bf53a009e4d12a94b2c9c5193c8afd8b2ca7..7d8fb3dfd427856a4182dd0dddd8f5feb02d50c6 100644 (file)
@@ -2520,6 +2520,9 @@ process_dnskey_response(struct module_qstate* qstate, struct val_qstate* vq,
                        log_err("alloc failure in missing dnskey response");
                        /* key_entry is NULL for failure in Validate */
                }
+               val_errinf(qstate, vq, "No DNSKEY record");
+               val_errinf_origin(qstate, vq, origin);
+               val_errinf_dname(qstate, vq, "for key", qinfo->qname);
                vq->state = VAL_VALIDATE_STATE;
                return;
        }