From 83d4fca4d275adc55a8369ef3bca969f0057f58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ketelaars?= Date: Mon, 11 Sep 2023 21:43:35 +0200 Subject: [PATCH] OpenBSD only: switch to OpenSSL-3.0 --- Vagrantfile | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 65e78442..0a6d9452 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -79,7 +79,7 @@ def packages_openbsd pkg_add lz4 pkg_add zstd pkg_add git # no fakeroot - pkg_add openssl%1.1 + pkg_add openssl%3.0 pkg_add py3-pip pkg_add py3-virtualenv EOF diff --git a/setup.py b/setup.py index 95d180c6..d9c0fee5 100644 --- a/setup.py +++ b/setup.py @@ -161,8 +161,8 @@ if not on_rtd: # Use openssl (not libressl) because we need AES-OCB via EVP api. Link # it statically to avoid conflicting with shared libcrypto from the base # OS pulled in via dependencies. - crypto_ext_lib = {"include_dirs": ["/usr/local/include/eopenssl11"]} - crypto_extra_objects += ["/usr/local/lib/eopenssl11/libcrypto.a"] + crypto_ext_lib = {"include_dirs": ["/usr/local/include/eopenssl30"]} + crypto_extra_objects += ["/usr/local/lib/eopenssl30/libcrypto.a"] else: crypto_ext_lib = lib_ext_kwargs(pc, "BORG_OPENSSL_PREFIX", "crypto", "libcrypto", ">=1.1.1")