@pmatilai commented on this pull request.


>           (void) Fclose(fd);
        }
-       if (rc != pktlen) {
+       if (nb != pktlen) {

We could check specifically for zero here, but then, a signature of size 1 (or 
similar impossibly small) would could not possibly be a legit signature either. 
So we're already relying on the gpg/sq to return with an error if something 
went wrong when signing.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3989#discussion_r2415839586
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3989/review/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to