aboutsummaryrefslogtreecommitdiff
path: root/bpkg/openssl.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-30 14:44:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-31 00:55:22 +0300
commitbe8ddf26165f25d323657c1e6553af9b42b6d6bf (patch)
tree759584203412294b7b43cf4e05b9f0431c3ec40b /bpkg/openssl.hxx
parent52c0019692491173b934111c31c2a0bba84c6d71 (diff)
Make use of butl::openssl, ifdstream::read_text() and ifdstream::read_binary()
Diffstat (limited to 'bpkg/openssl.hxx')
-rw-r--r--bpkg/openssl.hxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/bpkg/openssl.hxx b/bpkg/openssl.hxx
deleted file mode 100644
index 8023db6..0000000
--- a/bpkg/openssl.hxx
+++ /dev/null
@@ -1,31 +0,0 @@
-// file : bpkg/openssl.hxx -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef BPKG_OPENSSL_HXX
-#define BPKG_OPENSSL_HXX
-
-#include <libbutl/process.hxx>
-
-#include <bpkg/types.hxx>
-#include <bpkg/utility.hxx>
-
-#include <bpkg/common-options.hxx>
-
-namespace bpkg
-{
- // Start the openssl process. Parameters in, out, err flags if the caller
- // wish to write to, or read from the process STDIN, STDOUT, STDERR streams.
- // If out and err are both true, then STDERR is redirected to STDOUT, and
- // they both can be read from in_ofd descriptor.
- //
- butl::process
- start_openssl (const common_options&,
- const char* command,
- const cstrings& options,
- bool in = false,
- bool out = false,
- bool err = false);
-}
-
-#endif // BPKG_OPENSSL_HXX