Commit 2ba0149e authored by Luca Boccassi's avatar Luca Boccassi

Problem: gssapi_mechanism_base_t initialisation misses one param

Solution: pass the session as well as the options
parent 83c9c0b5
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
zmq::gssapi_client_t::gssapi_client_t (session_base_t *session_, zmq::gssapi_client_t::gssapi_client_t (session_base_t *session_,
const options_t &options_) : const options_t &options_) :
mechanism_base_t (session_, options_), mechanism_base_t (session_, options_),
gssapi_mechanism_base_t (options_), gssapi_mechanism_base_t (session_, options_),
state (call_next_init), state (call_next_init),
token_ptr (GSS_C_NO_BUFFER), token_ptr (GSS_C_NO_BUFFER),
mechs (), mechs (),
......
...@@ -46,7 +46,7 @@ zmq::gssapi_server_t::gssapi_server_t (session_base_t *session_, ...@@ -46,7 +46,7 @@ zmq::gssapi_server_t::gssapi_server_t (session_base_t *session_,
const std::string &peer_address_, const std::string &peer_address_,
const options_t &options_) : const options_t &options_) :
mechanism_base_t (session_, options_), mechanism_base_t (session_, options_),
gssapi_mechanism_base_t (options_), gssapi_mechanism_base_t (session_, options_),
zap_client_t (session_, peer_address_, options_), zap_client_t (session_, peer_address_, options_),
state (recv_next_token), state (recv_next_token),
security_context_established (false) security_context_established (false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment