Skip to content

Commit 1dfae28

Browse files
committed
Update libcdoc
Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent 1b0a005 commit 1dfae28

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

client/widgets/AddressItem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ AddressItem::AddressItem(const CDKey &key, Type type, QWidget *parent)
6666
} else if (ui->key.lock.isValid()) {
6767
// Known lock type
6868
ui->code.clear();
69-
auto map = libcdoc::Recipient::parseLabel(ui->key.lock.label);
69+
auto map = libcdoc::Lock::parseLabel(ui->key.lock.label);
7070
if (map.contains("cn")) {
7171
ui->label = QString::fromStdString(map["cn"]);
7272
} else {
@@ -195,7 +195,7 @@ void AddressItem::setIdType() {
195195
// Known lock type
196196
// Needed to include translation for "ID-CARD"
197197
void(QT_TR_NOOP("ID-CARD"));
198-
auto items = libcdoc::Recipient::parseLabel(ui->key.lock.label);
198+
auto items = libcdoc::Lock::parseLabel(ui->key.lock.label);
199199
if (ui->key.lock.isCDoc1()) {
200200
const auto &bytes = ui->key.lock.getBytes(libcdoc::Lock::CERT);
201201
setIdType(SslCertificate(QByteArray::fromRawData((const char *)bytes.data(), bytes.size()), QSsl::Der));

0 commit comments

Comments
 (0)