From 67e40978c934a3dfd1ec13d768b7dea027d041a9 Mon Sep 17 00:00:00 2001
From: Kazuhiko SHIOZAKI <kazuhiko@nexedi.com>
Date: Thu, 16 May 2024 14:08:11 +0200
Subject: [PATCH] component/openvpn: build with OpenSSL 1.1.

---
 component/openvpn/buildout.cfg | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/component/openvpn/buildout.cfg b/component/openvpn/buildout.cfg
index 90affc97e..22c62bb34 100644
--- a/component/openvpn/buildout.cfg
+++ b/component/openvpn/buildout.cfg
@@ -21,7 +21,7 @@ environment =
   PATH=${xz-utils:location}/bin:%(PATH)s
   LZO_LIBS=-L${lzo:location}/lib -llzo2
   LZO_CFLAGS=-I${lzo:location}/include
-  OPENSSL_LIBS=-L${openssl:location}/lib -lcrypto -lssl
-  OPENSSL_CFLAGS=-I${openssl:location}/include
-  LDFLAGS =-Wl,-rpath=${lzo:location}/lib -Wl,-rpath=${flex:location}/lib -Wl,-rpath=${openssl:location}/lib
+  OPENSSL_LIBS=-L${openssl-1.1:location}/lib -lcrypto -lssl
+  OPENSSL_CFLAGS=-I${openssl-1.1:location}/include
+  LDFLAGS =-Wl,-rpath=${lzo:location}/lib -Wl,-rpath=${flex:location}/lib -Wl,-rpath=${openssl-1.1:location}/lib
   CPPFLAGS=-I${lzo:location}/include -I${flex:location}/include
-- 
2.30.9