signature class field is represented differently between gpg versions
This commit is contained in:
parent
fe27cb9d14
commit
b49c2b3da3
1 changed files with 7 additions and 1 deletions
|
@ -385,7 +385,13 @@ sub add ($c) {
|
||||||
push @these_uids, $userid;
|
push @these_uids, $userid;
|
||||||
$need_sig = 1;
|
$need_sig = 1;
|
||||||
}
|
}
|
||||||
if ($need_sig and $record eq 'sig' and $signatureclass eq '[selfsig]') {
|
if ($need_sig and $record eq 'sig' and (
|
||||||
|
$signatureclass eq '[selfsig]'
|
||||||
|
or $signatureclass eq 'x13'
|
||||||
|
or $signatureclass eq 'x12'
|
||||||
|
or $signatureclass eq 'x11'
|
||||||
|
or $signatureclass eq 'x10'))
|
||||||
|
{
|
||||||
$need_sig = 0;
|
$need_sig = 0;
|
||||||
$these_uids[-1] .= "$magic_delimiter$create:$expire:$flag";
|
$these_uids[-1] .= "$magic_delimiter$create:$expire:$flag";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue