<p>Spotted by PVS-Studio scan in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="560718181" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/1052" data-hovercard-type="issue" data-hovercard-url="/rpm-software-management/rpm/issues/1052/hovercard" href="https://github.com/rpm-software-management/rpm/issues/1052">#1052</a>:<br>
<a href="http://repoclosure.openmandriva.org/fullhtml/sources/rpmvs.c_42.html#ln425" rel="nofollow">http://repoclosure.openmandriva.org/fullhtml/sources/rpmvs.c_42.html#ln425</a></p>
<p>The obvious fix breaks three testcases, one of which is expected for DSA <-> RSA sort order, but in tests 287 and 292 this turns a NOKEY failure into a "no signature" failure, which cannot be right.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/1057?email_source=notifications&email_token=ADLPZU2FH4TRRANAFQWWFKTRBQBE3A5CNFSM4KQ4I5E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQBEVQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU5KMHDJ7IUNBHVXR4LRBQBE3ANCNFSM4KQ4I5EQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUZBVNQYBVP7IRQ5H5DRBQBE3A5CNFSM4KQ4I5E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQBEVQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/1057?email_source=notifications\u0026email_token=ADLPZU2FH4TRRANAFQWWFKTRBQBE3A5CNFSM4KQ4I5E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQBEVQ",
"url": "https://github.com/rpm-software-management/rpm/issues/1057?email_source=notifications\u0026email_token=ADLPZU2FH4TRRANAFQWWFKTRBQBE3A5CNFSM4KQ4I5E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQBEVQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>