[Rpm-maint] [rpm-software-management/rpm] Move OpenSSL code to newer API (PR #2723)
Panu Matilainen
notifications at github.com
Mon Oct 16 14:49:11 UTC 2023
@pmatilai commented on this pull request.
> if (!constructDSASigningKey(key))
goto done;
if (!constructDSASignature(sig))
goto done;
- if (DSA_do_verify(hash, hashlen, sig->dsa_sig, key->dsa_key) == 1)
+ pkey_ctx = EVP_PKEY_CTX_new(key->evp_pkey, NULL);
+ if (!pkey_ctx)
+ goto done;
+
+ if (EVP_PKEY_verify_init(pkey_ctx) != 1)
+ goto done;
+
+ //if (EVP_PKEY_CTX_set_rsa_padding(pkey_ctx, RSA_PKCS1_PADDING) <= 0)
+ // goto done;
Leftovers?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2723#pullrequestreview-1680183986
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2723/review/1680183986 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231016/b8dde87c/attachment.html>
More information about the Rpm-maint
mailing list