14 Star 0 Fork 12

ocs-commit/openssl

forked from OpenCloudOS Stream/openssl 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
17d12183797033f55aec03376ffd3969cd703c0e.patch 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-12-26 16:05 . - Apply patches from rpm-tracker
From 17d12183797033f55aec03376ffd3969cd703c0e Mon Sep 17 00:00:00 2001
From: Vladimirs Ambrosovs <[email protected]>
Date: Tue, 12 Mar 2024 18:23:55 +0200
Subject: [PATCH] Fix dasync_rsa_decrypt to call EVP_PKEY_meth_get_decrypt
Signed-off-by: Vladimirs Ambrosovs <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/23825)
(cherry picked from commit c91f0ca95881d03a54aedee197bbf5ffffc02935)
---
engines/e_dasync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/engines/e_dasync.c b/engines/e_dasync.c
index 7974106ae2197..aa7b2bce2f7cf 100644
--- a/engines/e_dasync.c
+++ b/engines/e_dasync.c
@@ -985,7 +985,7 @@ static int dasync_rsa_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out,
size_t inlen);
if (pdecrypt == NULL)
- EVP_PKEY_meth_get_encrypt(dasync_rsa_orig, NULL, &pdecrypt);
+ EVP_PKEY_meth_get_decrypt(dasync_rsa_orig, NULL, &pdecrypt);
return pdecrypt(ctx, out, outlen, in, inlen);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-commit/openssl.git
[email protected]:ocs-commit/openssl.git
ocs-commit
openssl
openssl
master

搜索帮助