summaryrefslogtreecommitdiffstats
path: root/src/gss_ntlmssp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gss_ntlmssp.h')
-rw-r--r--src/gss_ntlmssp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gss_ntlmssp.h b/src/gss_ntlmssp.h
index 334351a..5eb8bf6 100644
--- a/src/gss_ntlmssp.h
+++ b/src/gss_ntlmssp.h
@@ -21,6 +21,8 @@
#include "ntlm.h"
#include "crypto.h"
+#define MAX_CHALRESP_LIFETIME 36 * 60 * 60 /* 36 hours in seconds */
+
#define SEC_LEVEL_MIN 0
#define SEC_LEVEL_MAX 5
@@ -125,6 +127,8 @@ struct gssntlm_ctx {
struct ntlm_key exported_session_key;
struct gssntlm_signseal send;
struct gssntlm_signseal recv;
+
+ time_t expiration_time;
};
uint8_t gssntlm_required_security(int security_level,