aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-result.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-11-18 20:20:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-11-19 11:20:19 +0300
commit178e691dbb3e314858e94c369e5d6e7cbee7da4b (patch)
tree9c035e77b3cb9c3032ca6b8b05d4eeeee0d002c6 /mod/mod-build-result.hxx
parent311019b4787e8640c407083ba0412d72f3836216 (diff)
Use pkeyutl command instead of rsautl starting openssl version 3.0.0
Diffstat (limited to 'mod/mod-build-result.hxx')
-rw-r--r--mod/mod-build-result.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/mod-build-result.hxx b/mod/mod-build-result.hxx
index 71a60f9..1b32ad4 100644
--- a/mod/mod-build-result.hxx
+++ b/mod/mod-build-result.hxx
@@ -36,6 +36,13 @@ namespace brep
private:
shared_ptr<options::build_result> options_;
+
+ // True if the openssl version is greater or equal to 3.0.0 and so pkeyutl
+ // needs to be used instead of rsautl.
+ //
+ // Note that openssl 3.0.0 deprecates rsautl in favor of pkeyutl.
+ //
+ bool use_openssl_pkeyutl_;
};
}