net-misc/openssh-8.2_p1-r6: Fix libressl patch
authorPatrick McLean <patrick.mclean@sony.com>
Tue, 12 May 2020 01:41:16 +0000 (18:41 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Tue, 12 May 2020 01:41:16 +0000 (18:41 -0700)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
net-misc/openssh/files/openssh-8.2_p1-hpn-14.20-libressl.patch

index aa6eea44107e0ec32f56f39eeba267d3d204cc55..69dd22a5eeb6e2e6e56fc38cd1aaaddcf9434530 100644 (file)
@@ -5,7 +5,7 @@
  +evp_aes_ctr_mt(void)
  +{
 -+# if OPENSSL_VERSION_NUMBER >= 0x10100000UL
-++# if OPENSSL_VERSION_NUMBER >= 0x10100000UL || defined(HAVE_OPAQUE_STRUCTS)
+++# if (OPENSSL_VERSION_NUMBER >= 0x10100000UL || defined(HAVE_OPAQUE_STRUCTS)) && !defined(LIBRESSL_VERSION_NUMBER)
  +     static EVP_CIPHER *aes_ctr;
  +     aes_ctr = EVP_CIPHER_meth_new(NID_undef, 16/*block*/, 16/*key*/);
  +     EVP_CIPHER_meth_set_iv_length(aes_ctr, AES_BLOCK_SIZE);