Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
6a78b3ec
Commit
6a78b3ec
authored
Mar 12, 2016
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: HAVE_LIBSODIUM macro is inconsistent
Solution: use ZMQ_USE_LIBSODIUM to match ZMQ_USE_TWEETNACL
parent
6630a7ce
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
CMakeLists.txt
CMakeLists.txt
+1
-1
configure.ac
configure.ac
+1
-1
ctx.cpp
src/ctx.cpp
+1
-1
curve_client.hpp
src/curve_client.hpp
+1
-1
curve_server.hpp
src/curve_server.hpp
+1
-1
zmq_utils.cpp
src/zmq_utils.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
6a78b3ec
...
...
@@ -43,7 +43,7 @@ elseif (WITH_LIBSODIUM)
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"SunOS"
)
target_link_libraries
(
libzmq ssp
)
endif
()
set
(
HAV
E_LIBSODIUM 1
)
set
(
ZMQ_US
E_LIBSODIUM 1
)
set
(
ZMQ_HAVE_CURVE 1
)
else
()
message
(
FATAL_ERROR
...
...
configure.ac
View file @
6a78b3ec
...
...
@@ -439,7 +439,7 @@ if test "x$enable_curve" = "xno"; then
elif test "x$with_libsodium" = "xyes"; then
AC_MSG_NOTICE([Using libsodium for CURVE security])
AC_DEFINE(ZMQ_HAVE_CURVE, [1], [Using curve encryption])
AC_DEFINE(
HAV
E_LIBSODIUM, [1], [Using libsodium for curve encryption])
AC_DEFINE(
ZMQ_US
E_LIBSODIUM, [1], [Using libsodium for curve encryption])
curve_library="libsodium"
# On Solaris, libsodium depends on libssp
...
...
src/ctx.cpp
View file @
6a78b3ec
...
...
@@ -51,7 +51,7 @@
#if defined (ZMQ_USE_TWEETNACL)
# include "tweetnacl.h"
#elif defined (
HAV
E_LIBSODIUM)
#elif defined (
ZMQ_US
E_LIBSODIUM)
# include "sodium.h"
#endif
...
...
src/curve_client.hpp
View file @
6a78b3ec
...
...
@@ -36,7 +36,7 @@
#if defined (ZMQ_USE_TWEETNACL)
# include "tweetnacl.h"
#elif defined (
HAV
E_LIBSODIUM)
#elif defined (
ZMQ_US
E_LIBSODIUM)
# include "sodium.h"
#endif
...
...
src/curve_server.hpp
View file @
6a78b3ec
...
...
@@ -36,7 +36,7 @@
#if defined (ZMQ_USE_TWEETNACL)
# include "tweetnacl.h"
#elif defined (
HAV
E_LIBSODIUM)
#elif defined (
ZMQ_US
E_LIBSODIUM)
# include "sodium.h"
#endif
...
...
src/zmq_utils.cpp
View file @
6a78b3ec
...
...
@@ -46,7 +46,7 @@
#if defined (ZMQ_USE_TWEETNACL)
# include "tweetnacl.h"
#elif defined (
HAV
E_LIBSODIUM)
#elif defined (
ZMQ_US
E_LIBSODIUM)
# include "sodium.h"
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment