1 |
commit: 740b5fac89a4a55fa350f3c2e1b87772df570d09 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Tue May 12 01:41:16 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 12 01:41:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740b5fac |
7 |
|
8 |
net-misc/openssh-8.2_p1-r6: Fix libressl patch |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
net-misc/openssh/files/openssh-8.2_p1-hpn-14.20-libressl.patch | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/net-misc/openssh/files/openssh-8.2_p1-hpn-14.20-libressl.patch b/net-misc/openssh/files/openssh-8.2_p1-hpn-14.20-libressl.patch |
18 |
index aa6eea44107..69dd22a5eeb 100644 |
19 |
--- a/net-misc/openssh/files/openssh-8.2_p1-hpn-14.20-libressl.patch |
20 |
+++ b/net-misc/openssh/files/openssh-8.2_p1-hpn-14.20-libressl.patch |
21 |
@@ -5,7 +5,7 @@ |
22 |
+evp_aes_ctr_mt(void) |
23 |
+{ |
24 |
-+# if OPENSSL_VERSION_NUMBER >= 0x10100000UL |
25 |
-++# if OPENSSL_VERSION_NUMBER >= 0x10100000UL || defined(HAVE_OPAQUE_STRUCTS) |
26 |
+++# if (OPENSSL_VERSION_NUMBER >= 0x10100000UL || defined(HAVE_OPAQUE_STRUCTS)) && !defined(LIBRESSL_VERSION_NUMBER) |
27 |
+ static EVP_CIPHER *aes_ctr; |
28 |
+ aes_ctr = EVP_CIPHER_meth_new(NID_undef, 16/*block*/, 16/*key*/); |
29 |
+ EVP_CIPHER_meth_set_iv_length(aes_ctr, AES_BLOCK_SIZE); |