projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes for Heimdal (macOS) builds from Stefan.
[mech_eap.git]
/
mech_eap
/
add_cred.c
diff --git
a/mech_eap/add_cred.c
b/mech_eap/add_cred.c
index
37d0add
..
95a1867
100644
(file)
--- a/
mech_eap/add_cred.c
+++ b/
mech_eap/add_cred.c
@@
-41,10
+41,15
@@
* apart from the mechanism glue layer. However, Heimdal does call into the
* mechanism here.
*/
* apart from the mechanism glue layer. However, Heimdal does call into the
* mechanism here.
*/
-OM_uint32
+OM_uint32
GSSAPI_CALLCONV
gss_add_cred(OM_uint32 *minor,
gss_add_cred(OM_uint32 *minor,
+#ifdef HAVE_HEIMDAL_VERSION
+ gss_const_cred_id_t input_cred_handle GSSEAP_UNUSED,
+ gss_const_name_t desired_name,
+#else
gss_cred_id_t input_cred_handle GSSEAP_UNUSED,
gss_name_t desired_name,
gss_cred_id_t input_cred_handle GSSEAP_UNUSED,
gss_name_t desired_name,
+#endif
gss_OID desired_mech,
gss_cred_usage_t cred_usage,
OM_uint32 initiator_time_req,
gss_OID desired_mech,
gss_cred_usage_t cred_usage,
OM_uint32 initiator_time_req,
@@
-71,7
+76,6
@@
gss_add_cred(OM_uint32 *minor,
major = gssEapAcquireCred(minor,
desired_name,
major = gssEapAcquireCred(minor,
desired_name,
- GSS_C_NO_BUFFER,
time_req,
&mechs,
cred_usage,
time_req,
&mechs,
cred_usage,