summaryrefslogtreecommitdiff
path: root/spnego.h
diff options
context:
space:
mode:
Diffstat (limited to 'spnego.h')
-rw-r--r--spnego.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/spnego.h b/spnego.h
new file mode 100644
index 0000000..9120f9a
--- /dev/null
+++ b/spnego.h
@@ -0,0 +1,11 @@
+#ifndef _SPNEGO_H
+#define _SPNEGO_H
+
+/* not really SPNEGO but GSSAPI (RFC 1964) */
+#define TOK_ID_KRB_AP_REQ (unsigned char *)"\x01\x00"
+#define TOK_ID_KRB_AP_REP (unsigned char *)"\x02\x00"
+#define TOK_ID_KRB_ERROR (unsigned char *)"\x03\x00"
+#define TOK_ID_GSS_GETMIC (unsigned char *)"\x01\x01"
+#define TOK_ID_GSS_WRAP (unsigned char *)"\x02\x01"
+
+#endif /* _SPNEGO_H */