Fix libtdekrb FTBFS on older Ubuntu versions

master
Timothy Pearson 12 years ago
parent 924afb3241
commit 1a09f3b991

@ -34,6 +34,10 @@
#include "tdekrbclientsocket.h" #include "tdekrbclientsocket.h"
#if SASL_VERSION_FULL < 0x020119
typedef int (*sasl_callback_ft)(void);
#endif // SASL_VERSION_FULL
#define NET_SEC_BUF_SIZE (2048) #define NET_SEC_BUF_SIZE (2048)
// When control comes back from processEvents() my object may be completely gone! This attempts to mitigate the risk // When control comes back from processEvents() my object may be completely gone! This attempts to mitigate the risk
@ -1025,4 +1029,4 @@ int TDEKerberosClientSocket::initializeKerberosInterface() {
if (kerberosInitLoopTimer) kerberosInitLoopTimer->start(0, TRUE); if (kerberosInitLoopTimer) kerberosInitLoopTimer->start(0, TRUE);
return 0; return 0;
} }

@ -34,6 +34,10 @@
#include "tdekrbserversocket.h" #include "tdekrbserversocket.h"
#if SASL_VERSION_FULL < 0x020119
typedef int (*sasl_callback_ft)(void);
#endif // SASL_VERSION_FULL
#define NET_SEC_BUF_SIZE (2048) #define NET_SEC_BUF_SIZE (2048)
// When control comes back from processEvents() my object may be completely gone! This attempts to mitigate the risk // When control comes back from processEvents() my object may be completely gone! This attempts to mitigate the risk
@ -1058,4 +1062,4 @@ int TDEKerberosServerSocket::initializeKerberosInterface() {
if (kerberosInitLoopTimer) kerberosInitLoopTimer->start(0, TRUE); if (kerberosInitLoopTimer) kerberosInitLoopTimer->start(0, TRUE);
return 0; return 0;
} }

Loading…
Cancel
Save