]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix bad syntax in pkcs11eddsa_link.c.
authorAaron Thompson <dev@aaront.org>
Sun, 29 Mar 2020 22:08:13 +0000 (22:08 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 20 Apr 2020 09:40:41 +0000 (11:40 +0200)
Introduced in 994e656977b88516d76519c437b623ddb32b0769.

lib/dns/pkcs11eddsa_link.c

index 760ce6b9e3fccd86a464b49a111e1447e1870421..efd0d3b00c5c207e5d61d536ee18ac114ea2156c 100644 (file)
@@ -542,7 +542,7 @@ pkcs11eddsa_isprivate(const dst_key_t *key) {
                return (false);
        }
        attr = pk11_attribute_bytype(ec, CKA_VALUE);
-       return((attr != NULL || ec->ontoken)));
+       return (attr != NULL || ec->ontoken);
 }
 
 static void