Skip to content

Commit

Permalink
Merge branch 'jb51446' into 'master'
Browse files Browse the repository at this point in the history
Convert signature to human-readable form

See merge request mer-core/nemo-qml-plugin-systemsettings!165
  • Loading branch information
llewelld committed Dec 10, 2020
2 parents 8d02e4e + 12c0bff commit 9952c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/certificatemodel.cpp
Expand Up @@ -158,7 +158,7 @@ struct X509Certificate
rv.append(qMakePair(QStringLiteral("Algorithm"), objectToString(sig_alg->algorithm, shortForm)));

BIO *b = BIO_new(BIO_s_mem());
ASN1_STRING_print_ex(b, sig, 0);
X509_signature_dump(b, sig, 0);
QString d(bioToString(b).replace(QChar('\n'), QString()));
rv.append(qMakePair(QStringLiteral("Data"), d.trimmed()));
BIO_free(b);
Expand Down

0 comments on commit 9952c3b

Please sign in to comment.