From aac3c03f72b69ae2383c4a340f6fc5ec3881749f Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 16 Sep 2010 13:57:22 +0000 Subject: [PATCH] - Fix reported validation error in out of memory condition. git-svn-id: file:///svn/unbound/trunk@2237 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + validator/val_sigcrypt.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index 92690aabf..1b2ea8da4 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/validator/val_sigcrypt.c b/validator/val_sigcrypt.c index 1fe63c115..dd3a694b6 100644 --- a/validator/val_sigcrypt.c +++ b/validator/val_sigcrypt.c @@ -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 -- 2.47.2