Skip to content

Commit

Permalink
Fix calendar export for CAs
Browse files Browse the repository at this point in the history
The export checked the F_CHAIN flag, but the export item
used the F_CA flag to indicate CA calendar exports.
  • Loading branch information
chris2511 committed Apr 22, 2024
1 parent e3c2c40 commit c7565cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db_x509.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ void db_x509::exportItems(const QModelIndexList &list,
} else if (xport->match_all(F_CAL)) {
QStringList vcal;
foreach(crt, certs) {
vcal += xport->match_all(F_CHAIN) ?
vcal += xport->match_all(F_CA) ?
crt->icsVEVENT_ca() : crt->icsVEVENT();
}
writeVcalendar(file, vcal);
Expand Down

0 comments on commit c7565cf

Please sign in to comment.