Changeset c327ce5 in nscp for include/nsca/server/protocol.hpp
- Timestamp:
- 07/17/12 15:37:04 (11 months ago)
- Branches:
- master, 0.4.1, 0.4.2
- Children:
- d6194a0
- Parents:
- 53be5c8
- File:
-
- 1 edited
-
include/nsca/server/protocol.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
include/nsca/server/protocol.hpp
ra48fd4c rc327ce5 38 38 39 39 std::string data_; 40 nsc a::nsca_encryptencryption_instance_;40 nscp::encryption::engine encryption_instance_; 41 41 42 42 read_protocol(socket_helpers::connection_info info, handler_type handler) … … 70 70 std::vector<boost::asio::const_buffer> buffers; 71 71 72 std::string iv = nsc a::nsca_encrypt::generate_transmitted_iv();72 std::string iv = nscp::encryption::engine::generate_transmitted_iv(); 73 73 encryption_instance_.encrypt_init(handler_->get_password(), handler_->get_encryption(), iv); 74 74 … … 108 108 } catch (const std::exception &e) { 109 109 log_error(__FILE__, __LINE__, std::string("Exception processing request: ") + e.what()); 110 log_debug(__FILE__, __LINE__, "Using: encryption = " + nsc a::nsca_encrypt::helpers::encryption_to_string(handler_->get_encryption()) + ", password = '" + handler_->get_password() + "'");110 log_debug(__FILE__, __LINE__, "Using: encryption = " + nscp::encryption::helpers::encryption_to_string(handler_->get_encryption()) + ", password = '" + handler_->get_password() + "'"); 111 111 } catch (...) { 112 112 log_error(__FILE__, __LINE__, "Exception processing request");
Note: See TracChangeset
for help on using the changeset viewer.








