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
09647fa9
Commit
09647fa9
authored
Apr 25, 2014
by
Chris Laws
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/gssapi_client.cpp
parent
dd64f643
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
0 deletions
+23
-0
gssapi_client.hpp
src/gssapi_client.hpp
+4
-0
gssapi_mechanism_base.cpp
src/gssapi_mechanism_base.cpp
+4
-0
gssapi_mechanism_base.hpp
src/gssapi_mechanism_base.hpp
+5
-0
gssapi_server.cpp
src/gssapi_server.cpp
+4
-0
gssapi_server.hpp
src/gssapi_server.hpp
+4
-0
stream_engine.cpp
src/stream_engine.cpp
+2
-0
No files found.
src/gssapi_client.hpp
View file @
09647fa9
...
...
@@ -20,6 +20,8 @@
#ifndef __ZMQ_GSSAPI_CLIENT_HPP_INCLUDED__
#define __ZMQ_GSSAPI_CLIENT_HPP_INCLUDED__
#ifdef HAVE_LIBGSSAPI_KRB5
#include "gssapi_mechanism_base.hpp"
namespace
zmq
...
...
@@ -77,3 +79,5 @@ namespace zmq
}
#endif
#endif
src/gssapi_mechanism_base.cpp
View file @
09647fa9
...
...
@@ -18,6 +18,9 @@
*/
#include "platform.hpp"
#ifdef HAVE_LIBGSSAPI_KRB5
#ifdef ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#endif
...
...
@@ -333,3 +336,4 @@ int zmq::gssapi_mechanism_base_t::acquire_credentials (char * service_name_, gss
return
0
;
}
#endif
src/gssapi_mechanism_base.hpp
View file @
09647fa9
...
...
@@ -20,6 +20,10 @@
#ifndef __ZMQ_GSSAPI_MECHANISM_BASE_HPP_INCLUDED__
#define __ZMQ_GSSAPI_MECHANISM_BASE_HPP_INCLUDED__
#include "platform.hpp"
#ifdef HAVE_LIBGSSAPI_KRB5
#include <gssapi/gssapi_generic.h>
#include <gssapi/gssapi_krb5.h>
...
...
@@ -113,3 +117,4 @@ namespace zmq
#endif
#endif
src/gssapi_server.cpp
View file @
09647fa9
...
...
@@ -18,6 +18,9 @@
*/
#include "platform.hpp"
#ifdef HAVE_LIBGSSAPI_KRB5
#ifdef ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#endif
...
...
@@ -358,3 +361,4 @@ void zmq::gssapi_server_t::accept_context ()
}
}
#endif
src/gssapi_server.hpp
View file @
09647fa9
...
...
@@ -20,6 +20,8 @@
#ifndef __ZMQ_GSSAPI_SERVER_HPP_INCLUDED__
#define __ZMQ_GSSAPI_SERVER_HPP_INCLUDED__
#ifdef HAVE_LIBGSSAPI_KRB5
#include "gssapi_mechanism_base.hpp"
namespace
zmq
...
...
@@ -80,3 +82,5 @@ namespace zmq
}
#endif
#endif
src/stream_engine.cpp
View file @
09647fa9
...
...
@@ -595,6 +595,7 @@ bool zmq::stream_engine_t::handshake ()
alloc_assert
(
mechanism
);
}
#endif
#ifdef HAVE_LIBGSSAPI_KRB5
else
if
(
memcmp
(
greeting_recv
+
12
,
"GSSAPI
\0\0\0\0\0\0\0\0\0\0\0\0\0\0
"
,
20
)
==
0
)
{
if
(
options
.
as_server
)
...
...
@@ -604,6 +605,7 @@ bool zmq::stream_engine_t::handshake ()
mechanism
=
new
(
std
::
nothrow
)
gssapi_client_t
(
options
);
alloc_assert
(
mechanism
);
}
#endif
else
{
error
();
return
false
;
...
...
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