zeromq/libzmq — pull request #1272 by minrk (2014-12-03 20:49:37+00:00)
Title: reject old ZMTP connections if auth enabled

Auth mechanisms were only enabled when ZMTP handshake is the latest version, meaning that connections from old sockets would skip authentication altogether.

A test with a vanilla socket is added to all security tests. Prior to the patch, all security mechanisms failed the test, allowing messages to be delivered without authentication.