Ignore:
Timestamp:
07/17/12 15:37:04 (11 months ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.1, 0.4.2
Children:
d6194a0
Parents:
53be5c8
Message:
  • Performance enhancements to build time
File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/nsca/server/protocol.hpp

    ra48fd4c rc327ce5  
    3838     
    3939    std::string data_; 
    40     nsca::nsca_encrypt encryption_instance_; 
     40    nscp::encryption::engine encryption_instance_; 
    4141 
    4242    read_protocol(socket_helpers::connection_info info, handler_type handler)  
     
    7070      std::vector<boost::asio::const_buffer> buffers; 
    7171 
    72       std::string iv = nsca::nsca_encrypt::generate_transmitted_iv(); 
     72      std::string iv = nscp::encryption::engine::generate_transmitted_iv(); 
    7373      encryption_instance_.encrypt_init(handler_->get_password(), handler_->get_encryption(), iv); 
    7474 
     
    108108          } catch (const std::exception &e) { 
    109109            log_error(__FILE__, __LINE__, std::string("Exception processing request: ") + e.what()); 
    110             log_debug(__FILE__, __LINE__, "Using: encryption = " + nsca::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() + "'"); 
    111111          } catch (...) { 
    112112            log_error(__FILE__, __LINE__, "Exception processing request"); 
Note: See TracChangeset for help on using the changeset viewer.