diff options
Diffstat (limited to 'libbutl/openssl.ixx')
-rw-r--r-- | libbutl/openssl.ixx | 9 |
1 files changed, 9 insertions, 0 deletions
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<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); + } } |