diff --git a/src/tofu.c b/src/tofu.c

index 0acdf33a50bb4957741f4789472ffe56035a7159..54183a79278de45bfbe5a1f8ddbcbf10be1c01c4 100644

--- a/src/tofu.c

+++ b/src/tofu.c

@@ -62,9 +62,6 @@ if (err != 0 && err != BR_ERR_X509_TRUNCATED) {

cc->err = err;

return;

}

- if (br_x509_decoder_isCA(&cc->decoder)) {

- return;

- }

cc->pkey = br_x509_decoder_get_pkey(&cc->decoder);

br_sha512_out(&cc->sha512, &cc->hash);

}