[Rpm-maint] [rpm-software-management/rpm] Add pgpVerifySignature2 (PR #2453)

Panu Matilainen notifications at github.com
Fri Mar 31 07:29:13 UTC 2023


@pmatilai commented on this pull request.



> @@ -1120,6 +1120,12 @@ int pgpPrtParamsSubkeys(const uint8_t *pkts, size_t pktlen,
     return rc;
 }
 
+rpmRC pgpVerifySignature2(pgpDigParams key, pgpDigParams sig, DIGEST_CTX hashctx, char **error_msg)
+{
+    *error_msg = NULL;

In rpm, these kind of "supplemental" pointers are usually optional, eg

```
    if (error_msg)
        *error_msg = NULL;
```

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

Message ID: <rpm-software-management/rpm/pull/2453/review/1366396858 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230331/f7810481/attachment.html>


More information about the Rpm-maint mailing list