From ee59f90d0a7044ba9d0a146aefceb34e78891ab5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 18 Nov 2021 15:54:46 +0300 Subject: Add openssl::info() overloads --- libbutl/openssl.ixx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libbutl/openssl.ixx') diff --git a/libbutl/openssl.ixx b/libbutl/openssl.ixx index 1435dcb..db2fbcd 100644 --- a/libbutl/openssl.ixx +++ b/libbutl/openssl.ixx @@ -26,4 +26,13 @@ namespace butl std::forward (options)...) { } + + template + inline optional openssl:: + info (E&& err, const process_env& env) + { + return info ([] (const char* [], std::size_t) {}, + std::forward (err), + env); + } } -- cgit v1.1