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
20bbd016
Commit
20bbd016
authored
Aug 07, 2017
by
Luca Boccassi
Committed by
GitHub
Aug 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2663 from sigiesec/fix-zap-assertion
Problem: failing assertion on ZAP protocol error
parents
2564c8e5
de82cbe4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
test_security_curve.cpp
tests/test_security_curve.cpp
+5
-2
No files found.
tests/test_security_curve.cpp
View file @
20bbd016
...
...
@@ -564,12 +564,15 @@ void test_curve_security_zap_unsuccessful (void *ctx,
ctx
,
valid_server_public
,
valid_client_public
,
valid_client_secret
,
my_endpoint
,
server
);
int
events_received
=
0
;
#ifdef ZMQ_BUILD_DRAFT_API
expect_monitor_event_multiple
(
server_mon
,
expected_event
,
expected_err
);
events_received
=
expect_monitor_event_multiple
(
server_mon
,
expected_event
,
expected_err
);
#endif
// there may be more than one ZAP request due to repeated attempts by the client
assert
(
1
<=
zmq_atomic_counter_value
(
zap_requests_handled
));
assert
(
events_received
==
0
||
1
<=
zmq_atomic_counter_value
(
zap_requests_handled
));
}
void
test_curve_security_zap_protocol_error
(
void
*
ctx
,
...
...
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