From 6b65a4f86e275a8e9515f8cb678e16fd8a01bc1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 21 Nov 2018 23:34:44 +0100 Subject: [PATCH] Fix typo ISC_SHA256_DIGESTLENGHT -> ISC_SHA256_DIGESTLENGTH --- lib/dns/resolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index d50148abb4..4ed282b726 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -2278,7 +2278,7 @@ compute_cc(resquery_t *query, unsigned char *cookie, size_t len) { unsigned int secret_len = ISC_SHA1_DIGESTLENGTH; #elif defined(HMAC_SHA256_CC) isc_md_type_t type = ISC_MD_SHA256; - unsigned int secret_len = ISC_SHA256_DIGESTLENGHT; + unsigned int secret_len = ISC_SHA256_DIGESTLENGTH; #endif INSIST(len >= 8U);