summaryrefslogtreecommitdiff
path: root/spnego.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-02-07 14:54:22 -0500
committerJeff Layton <jlayton@redhat.com>2010-02-07 14:54:22 -0500
commit01cdb73241999039260a92312f3151fbde478ede (patch)
tree277be1630bba89525a2a66164db224a5a7c4e0bc /spnego.h
parent7d04eeea19da1cff6424b42bd049d7e808739553 (diff)
downloadcifs-utils-01cdb73241999039260a92312f3151fbde478ede.tar.gz
cifs-utils-01cdb73241999039260a92312f3151fbde478ede.tar.bz2
cifs-utils-01cdb73241999039260a92312f3151fbde478ede.zip
spnego.c: add new spnego.c file with SPNEGO/GSSAPI routines we need
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'spnego.h')
-rw-r--r--spnego.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/spnego.h b/spnego.h
index cff67ca..196202c 100644
--- a/spnego.h
+++ b/spnego.h
@@ -14,4 +14,7 @@
#define TOK_ID_GSS_GETMIC (unsigned char *)"\x01\x01"
#define TOK_ID_GSS_WRAP (unsigned char *)"\x02\x01"
+extern DATA_BLOB gen_negTokenInit(const char *OID, DATA_BLOB blob);
+extern DATA_BLOB spnego_gen_krb5_wrap(const DATA_BLOB ticket, const uint8_t tok_id[2]);
+
#endif /* _SPNEGO_H */