summaryrefslogtreecommitdiff
path: root/net-misc/openssh/files/openssh-7.9_p1-libressl-2.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/openssh/files/openssh-7.9_p1-libressl-2.8.patch')
-rw-r--r--net-misc/openssh/files/openssh-7.9_p1-libressl-2.8.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-7.9_p1-libressl-2.8.patch b/net-misc/openssh/files/openssh-7.9_p1-libressl-2.8.patch
new file mode 100644
index 000000000000..58f3ce2922ec
--- /dev/null
+++ b/net-misc/openssh/files/openssh-7.9_p1-libressl-2.8.patch
@@ -0,0 +1,16 @@
+--- openssh-7.9p1.orig/evp-compat.h 2018-12-07 17:07:37.929762570 -0800
++++ openssh-7.9p1/evp-compat.h 2018-12-07 17:08:03.923592845 -0800
+@@ -100,11 +100,13 @@
+ }
+
+
++#if LIBRESSL_VERSION_NUMBER < 0x20800000L
+ static inline int
+ EVP_CIPHER_CTX_encrypting(const EVP_CIPHER_CTX *ctx)
+ {
+ return(ctx->encrypt);
+ }
++#endif /* LIBRESSL_VERSION_NUMBER < 0x20800000L */
+
+
+ static inline void*