From: Wouter Wijngaards Date: Mon, 17 Sep 2018 07:44:11 +0000 (+0000) Subject: fix error print X-Git-Tag: release-1.8.1rc1~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c25bbd93f9502a4598ca7a4f3793216d698174d;p=thirdparty%2Funbound.git fix error print git-svn-id: file:///svn/unbound/trunk@4911 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/validator/val_secalgo.c b/validator/val_secalgo.c index 7437909fe..0613316c9 100644 --- a/validator/val_secalgo.c +++ b/validator/val_secalgo.c @@ -223,7 +223,7 @@ secalgo_ds_digest(int algo, unsigned char* buf, size_t len, case LDNS_SHA384: #ifdef OPENSSL_FIPS if(!sldns_digest_evp(buf, len, res, EVP_sha384())) - log_crypto_error("could not digest with EVP_sha256", + log_crypto_error("could not digest with EVP_sha384", ERR_get_error()); #else (void)SHA384(buf, len, res);