aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-task.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-06 19:01:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-07 14:10:24 +0300
commit7e60138c3231203a7f61130982560b7db6ec892c (patch)
tree0e6989ea9982619b1fd9bb13451fe6f8027f7d84 /mod/mod-build-task.cxx
parent52dcc79ed954c0375852d2194438dcdbbf98c2dd (diff)
Add support for openssl-envvar module option
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r--mod/mod-build-task.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index c018b65..dc9910f 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -271,7 +271,9 @@ handle (request& rq, response& rs)
openssl os (print_args,
nullfd, path ("-"), 2,
- options_->openssl (), "rand",
+ process_env (options_->openssl (),
+ options_->openssl_envvar ()),
+ "rand",
options_->openssl_option (), 64);
vector<char> nonce (os.in.read_binary ());