parent
25e56b0510
commit
2997452920
@ -0,0 +1,24 @@
|
|||||||
|
From 086d551251cebb67cd74ab2e735427969bbf215f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||||
|
Date: Wed, 4 Aug 2021 19:02:34 +0300
|
||||||
|
Subject: [PATCH] build: openssl: remove RSA_SSLV23_PADDING constant usage
|
||||||
|
|
||||||
|
Due to openssl-3 compatibility, thanks to t0b3
|
||||||
|
---
|
||||||
|
lib/pkcs11h-openssl.c | 3 ---
|
||||||
|
1 files changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/pkcs11h-openssl.c b/lib/pkcs11h-openssl.c
|
||||||
|
index dfb00136..78bb7fc1 100644
|
||||||
|
--- a/lib/pkcs11h-openssl.c
|
||||||
|
+++ b/lib/pkcs11h-openssl.c
|
||||||
|
@@ -474,9 +474,6 @@ __pkcs11h_openssl_rsa_dec (
|
||||||
|
case RSA_PKCS1_OAEP_PADDING:
|
||||||
|
mech = CKM_RSA_PKCS_OAEP;
|
||||||
|
break;
|
||||||
|
- case RSA_SSLV23_PADDING:
|
||||||
|
- rv = CKR_MECHANISM_INVALID;
|
||||||
|
- break;
|
||||||
|
case RSA_NO_PADDING:
|
||||||
|
mech = CKM_RSA_X_509;
|
||||||
|
break;
|
Loading…
Reference in new issue