]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix reported validation error in out of memory condition.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Sep 2010 13:57:22 +0000 (13:57 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Sep 2010 13:57:22 +0000 (13:57 +0000)
git-svn-id: file:///svn/unbound/trunk@2237 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
validator/val_sigcrypt.c

index 92690aabf24269b70e93f6ee5eb3cefbe472d71d..1b2ea8da44c6a56502adcad9ea1f9a6d8b646aeb 100644 (file)
@@ -2,6 +2,7 @@
        - Algorithm rollover operational reality intrudes, for trust-anchor,
          5011-store, and DLV-anchor if one key matches it's good enough.
        - iana portlist updated.
+       - Fix reported validation error in out of memory condition.
 
 15 September 2010: Wouter
        - Abide RFC5155 section 9.2: no AD flag for replies with NSEC3 optout.
index 1fe63c115d5319d2e6ea218f28760322cd5b3305..dd3a694b6a995221655054f757d009daee2ae1d6 100644 (file)
@@ -589,7 +589,7 @@ void algo_needs_reason(struct module_env* env, int alg, char** reason, char* s)
                        (unsigned)alg);
        *reason = regional_strdup(env->scratch, buf);
        if(!*reason)
-               *reason = "%s with all algorithms";
+               *reason = s;
 }
 
 enum sec_status