From 31dfd38681530226360f9b0c05051a6b84d53526 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 7 Mar 2021 12:21:15 -0500 Subject: [PATCH] Always take the last cert, CA or not --- src/tofu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/tofu.c b/src/tofu.c index 0acdf33..54183a7 100644 --- a/src/tofu.c +++ b/src/tofu.c @@ -62,9 +62,6 @@ xt_end_cert(const br_x509_class **ctx) 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); }