summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-05-27 23:51:39 +0300
committerDavid Faure <faure@kde.org>2021-06-24 08:52:11 +0000
commit1aee5e50fd279e6b25bc8508057fcaf1cc1157dd (patch)
tree1334bf8da4cd164bf423e0bb404ce02cdc84e424 /data
parent238f20f82d485dafa16904c5bd1b07c8034ddacd (diff)
downloadshared-mime-info-1aee5e50fd279e6b25bc8508057fcaf1cc1157dd.tar.gz
application/pkix-cert: add magic and test case
Diffstat (limited to 'data')
-rw-r--r--data/freedesktop.org.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 27a98c28..070c3071 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -350,6 +350,9 @@ command to generate the output files.
</mime-type>
<mime-type type="application/pkix-cert">
<comment>X.509 certificate</comment>
+ <magic>
+ <match type="string" value="-----BEGIN CERTIFICATE-----" offset="0"/>
+ </magic>
<glob pattern="*.cer"/>
</mime-type>
<mime-type type="application/pkix-crl">