diff options
author | Jack Lloyd <[email protected]> | 2018-12-01 17:03:39 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-01 17:03:39 -0500 |
commit | 803106b0aa320f62f639751e8405807810650af4 (patch) | |
tree | 2e9e775afc80f38b91ef8ba501d14bc6238d2cea /src/cli/tls_http_server.cpp | |
parent | 45f643a1ab837c0965f6182a62493f41bf714e68 (diff) |
Support getting a passphrase from most of the cli tools
Diffstat (limited to 'src/cli/tls_http_server.cpp')
-rw-r--r-- | src/cli/tls_http_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tls_http_server.cpp b/src/cli/tls_http_server.cpp index 6b5cefab4..cc59a71c3 100644 --- a/src/cli/tls_http_server.cpp +++ b/src/cli/tls_http_server.cpp @@ -531,7 +531,7 @@ class TLS_HTTP_Server final : public Command if(!sessions_db.empty()) { #if defined(BOTAN_HAS_TLS_SQLITE3_SESSION_MANAGER) - const std::string sessions_passphrase = get_arg("session-db-pass"); + const std::string sessions_passphrase = get_passphrase_arg("Session DB passphrase", "session-db-pass"); session_mgr.reset(new Botan::TLS::Session_Manager_SQLite(sessions_passphrase, rng(), sessions_db)); #else throw CLI_Error_Unsupported("Sqlite3 support not available"); |