mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
gssapi: drop unnecessary ifdefs
Problem: GSSAPI DRAFT code was made conditional on ZMQ_BUILD_DRAFT_API, but zmq_draft.h duplicates the DRAFT symbols definitions from zmq.h so this is unnecessary. Solution: drop the extra ifdefs
This commit is contained in:
@@ -198,11 +198,11 @@ namespace zmq
|
||||
// Principals for GSSAPI mechanism
|
||||
std::string gss_principal;
|
||||
std::string gss_service_principal;
|
||||
#ifdef ZMQ_BUILD_DRAFT_API
|
||||
|
||||
// Name types GSSAPI principals
|
||||
int gss_principal_nt;
|
||||
int gss_service_principal_nt;
|
||||
#endif
|
||||
|
||||
// If true, gss encryption will be disabled
|
||||
bool gss_plaintext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user