projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support VENDOR_ATTR_GSS_ACCEPTOR_SERVICE_SPECIFIC
[mech_eap.git]
/
util.h
diff --git
a/util.h
b/util.h
index
91a3eff
..
74641c7
100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-540,6
+540,13
@@
store_oid(gss_OID oid, void *vp)
return store_buffer(&buf, vp, FALSE);
}
+static inline void
+krbDataToGssBuffer(krb5_data *data, gss_buffer_t buffer)
+{
+ buffer->value = (void *)data->data;
+ buffer->length = data->length;
+}
+
#ifdef __cplusplus
}
#endif