Call flush after writing the identity message
Build/test errors on OS/X with clang++
curve_keygen needed assert.h
Bumped version for 4.0.1
Merge pull request #8 from hintjens/master

Backporting fixes from master
Added test case for issue 566

* Tests dealer-to-router connection 100 times
* This was failing in ZMQ v4.0.0 RC1
Updated CMake project for test_issue_566
Merge pull request #9 from hintjens/master

Cherry picking changes from libzmq master
Add '-lssp' linker flag for Solaris. Check for libraries after host specific setup.
Disable compiler warning for Solaris
declare z85_encode / decode in zmq_utils

they are used by curve_keygen, but not available
include missing platform.hpp in curve_keygen

it was excluded, so HAVE_SODIUM would never be defined,
leading to curve_keygen always reporting "recompile with libsodium"
config for libsodium in alternate path, using CPP flags for both C and C++ sources.
Fixed merge conflict error
Merge pull request #12 from hintjens/master

Backporting fixes from master
add zmq_curve_keypair to zmq_utils
return NULL and set EINVAL on bad z85 input

asserts aren't appropriate for checking user input.
use zmq_curve_keypair in curve_keygen
Packaging for zmq_curve_keypair function

* Added new man page for this
* Added test case, in tests/test_security_curve.cpp
* Noted in zmq_utils.h that these methods are documented
fix minor typo in zmq_ctx_get doc example