[Rpm-maint] [rpm-software-management/rpm] Move OpenSSL code to newer API (PR #2723)
Florian Festi
notifications at github.com
Tue Oct 17 11:28:41 UTC 2023
@ffesti 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;
Yup, It's gone now.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2723#discussion_r1361953902
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2723/review/1682065854 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231017/f08ae723/attachment-0001.html>
More information about the Rpm-maint
mailing list