mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 00:46:05 +01:00
gssapi: add NAMETYPE options to zmq_getsockopt
Problem: GSSAPI NAMETYPE options were added to zmq_setsockopt() but not zmq_getsockopt(). Add them to zmq_getsockopt().
This commit is contained in:
parent
9fbf2e2eb6
commit
8892087e99
@ -965,6 +965,20 @@ int zmq::options_t::getsockopt (int option_, void *optval_, size_t *optvallen_)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#ifdef ZMQ_BUILD_DRAFT_API
|
||||||
|
case ZMQ_GSSAPI_PRINCIPAL_NAMETYPE:
|
||||||
|
if (is_int) {
|
||||||
|
*value = gss_principal_nt;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case ZMQ_GSSAPI_SERVICE_PRINCIPAL_NAMETYPE:
|
||||||
|
if (is_int) {
|
||||||
|
*value = gss_service_principal_nt;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case ZMQ_HANDSHAKE_IVL:
|
case ZMQ_HANDSHAKE_IVL:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user