From 537626258f699f1ffc543a5b1f37c55236ef494c Mon Sep 17 00:00:00 2001 From: Brian Knox Date: Tue, 19 May 2015 09:38:53 -0400 Subject: [PATCH] remove temp printf from stream_engine --- src/stream_engine.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/stream_engine.cpp b/src/stream_engine.cpp index 2c7a784a..2cd02f69 100644 --- a/src/stream_engine.cpp +++ b/src/stream_engine.cpp @@ -668,18 +668,6 @@ bool zmq::stream_engine_t::handshake () } #endif 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); return false; }