mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Merge pull request #1401 from taotetek/master
Problem: libzmq has temp debug printf
This commit is contained in:
commit
f03a78bbfc
@ -668,18 +668,6 @@ bool zmq::stream_engine_t::handshake ()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else {
|
else {
|
||||||
// Temporary support for security debugging
|
|
||||||
char mechanism [21];
|
|
||||||
memcpy (mechanism, greeting_recv + 12, 20);
|
|
||||||
mechanism [20] = 0;
|
|
||||||
printf ("LIBZMQ I: security failure, self=%s peer=%s\n",
|
|
||||||
options.mechanism == ZMQ_NULL? "NULL":
|
|
||||||
options.mechanism == ZMQ_PLAIN? "PLAIN":
|
|
||||||
options.mechanism == ZMQ_CURVE? "CURVE":
|
|
||||||
options.mechanism == ZMQ_GSSAPI? "GSSAPI":
|
|
||||||
"OTHER",
|
|
||||||
mechanism);
|
|
||||||
|
|
||||||
error (protocol_error);
|
error (protocol_error);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user