aboutsummaryrefslogtreecommitdiff
path: root/libbutl/openssl.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/openssl.ixx')
-rw-r--r--libbutl/openssl.ixx14
1 files changed, 13 insertions, 1 deletions
diff --git a/libbutl/openssl.ixx b/libbutl/openssl.ixx
index c685b65..db2fbcd 100644
--- a/libbutl/openssl.ixx
+++ b/libbutl/openssl.ixx
@@ -1,7 +1,10 @@
// file : libbutl/openssl.ixx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
-LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
+#include <cstddef> // size_t
+#include <utility> // forward()
+
+namespace butl
{
template <typename I,
typename O,
@@ -23,4 +26,13 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
std::forward<A> (options)...)
{
}
+
+ template <typename E>
+ inline optional<openssl_info> openssl::
+ info (E&& err, const process_env& env)
+ {
+ return info ([] (const char* [], std::size_t) {},
+ std::forward<E> (err),
+ env);
+ }
}