1
0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-11-26 10:53:46 +01:00

tofu: don't discard CA certs

This commit is contained in:
Drew DeVault 2021-03-04 12:19:54 -05:00
parent 57064dd01f
commit ada6891e8f

@ -63,9 +63,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);
}