diff --git a/lib/dns/pkcs11eddsa_link.c b/lib/dns/pkcs11eddsa_link.c index 760ce6b9e3..efd0d3b00c 100644 --- a/lib/dns/pkcs11eddsa_link.c +++ b/lib/dns/pkcs11eddsa_link.c @@ -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