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:
Jim Garlick
2017-04-25 10:07:58 -07:00
parent c978d3bb0a
commit 53918fc115
5 changed files with 5 additions and 22 deletions

View File

@@ -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;