diff options
Diffstat (limited to 'meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch')
| -rw-r--r-- | meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch b/meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch deleted file mode 100644 index a5ea43f88b..0000000000 --- a/meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | From 5e8202458e41ba1f7801746c503fe7c60ae340d5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: kambe-mikb <77083885+kambe-mikb@users.noreply.github.com> | ||
| 3 | Date: Tue, 28 Sep 2021 17:40:18 +1000 | ||
| 4 | Subject: [PATCH] Fix for Issue 31 | ||
| 5 | |||
| 6 | Fix Issue 31 by removing reference to RSA_SSLV23_PADDING (removed from OpenSSL starting from v3.0.0) | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/toddr/Crypt-OpenSSL-RSA/pull/32] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | RSA.xs | 4 ++++ | ||
| 12 | 1 file changed, 4 insertions(+) | ||
| 13 | |||
| 14 | diff --git a/RSA.xs b/RSA.xs | ||
| 15 | index 46cb199..4f65dfc 100644 | ||
| 16 | --- a/RSA.xs | ||
| 17 | +++ b/RSA.xs | ||
| 18 | @@ -640,12 +640,16 @@ use_pkcs1_oaep_padding(p_rsa) | ||
| 19 | CODE: | ||
| 20 | p_rsa->padding = RSA_PKCS1_OAEP_PADDING; | ||
| 21 | |||
| 22 | +#if OPENSSL_VERSION_NUMBER < 0x30000000L | ||
| 23 | + | ||
| 24 | void | ||
| 25 | use_sslv23_padding(p_rsa) | ||
| 26 | rsaData* p_rsa; | ||
| 27 | CODE: | ||
| 28 | p_rsa->padding = RSA_SSLV23_PADDING; | ||
| 29 | |||
| 30 | +#endif | ||
| 31 | + | ||
| 32 | # Sign text. Returns the signature. | ||
| 33 | |||
| 34 | SV* | ||
| 35 | -- | ||
| 36 | 2.33.1 | ||
| 37 | |||
