1
0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-11-22 20:32:03 +01:00

Always take the last cert, CA or not

This commit is contained in:
Drew DeVault 2021-03-07 12:21:15 -05:00
parent 925d9e321d
commit 31dfd38681

@ -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);
}