]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9] fix backport error
authorEvan Hunt <each@isc.org>
Thu, 18 Feb 2016 03:13:22 +0000 (19:13 -0800)
committerMark Andrews <marka@isc.org>
Fri, 19 Feb 2016 03:48:44 +0000 (14:48 +1100)
(cherry picked from commit a078c9eeae8c2db7edf2b15ff1d25a3a297c7512)

lib/isccc/cc.c

index 6a68f8edd3e4f88ea654403cb2b59cb3b5107843..f98b72ae6798d237f190ed15ec8633d13d5dcdfb 100644 (file)
@@ -290,7 +290,7 @@ verify(isccc_sexpr_t *alist, unsigned char *data, unsigned int length,
        if (!isccc_alist_alistp(_auth))
                return (ISC_R_FAILURE);
        hmd5 = isccc_alist_lookup(_auth, "hmd5");
-       if (!isccc_sexpr_binaryp(hmac))
+       if (!isccc_sexpr_binaryp(hmd5))
                return (ISC_R_FAILURE);
        /*
         * Compute digest.