diff options
Diffstat (limited to 'proxy/src/mechglue/gpp_creds.c')
-rw-r--r-- | proxy/src/mechglue/gpp_creds.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gpp_creds.c b/proxy/src/mechglue/gpp_creds.c index 6a880f1..30610e9 100644 --- a/proxy/src/mechglue/gpp_creds.c +++ b/proxy/src/mechglue/gpp_creds.c @@ -126,6 +126,8 @@ OM_uint32 gssi_inquire_cred(OM_uint32 *minor_status, struct gpp_name_handle *gpname = NULL; OM_uint32 maj, min; + GSSI_TRACE(); + if (cred_handle == GSS_C_NO_CREDENTIAL) { maj = gppint_get_def_creds(&min, gpp_get_behavior(), NULL, GSS_C_INITIATE, &cred); @@ -183,6 +185,8 @@ OM_uint32 gssi_inquire_cred_by_mech(OM_uint32 *minor_status, struct gpp_name_handle *gpname = NULL; OM_uint32 maj, min; + GSSI_TRACE(); + if (cred_handle == GSS_C_NO_CREDENTIAL) { maj = gppint_get_def_creds(&min, gpp_get_behavior(), NULL, GSS_C_INITIATE, &cred); @@ -239,6 +243,8 @@ OM_uint32 gssi_inquire_cred_by_oid(OM_uint32 *minor_status, struct gpp_cred_handle *cred = NULL; OM_uint32 maj, min; + GSSI_TRACE(); + *minor_status = 0; if (cred_handle == GSS_C_NO_CREDENTIAL) { return GSS_S_CALL_INACCESSIBLE_READ; @@ -266,6 +272,8 @@ OM_uint32 gssi_set_cred_option(OM_uint32 *minor_status, struct gpp_cred_handle *cred = NULL; OM_uint32 maj, min; + GSSI_TRACE(); + *minor_status = 0; if (*cred_handle == GSS_C_NO_CREDENTIAL) { return GSS_S_CALL_INACCESSIBLE_READ; @@ -295,6 +303,8 @@ OM_uint32 gssi_store_cred(OM_uint32 *minor_status, struct gpp_cred_handle *cred = NULL; OM_uint32 maj, min; + GSSI_TRACE(); + *minor_status = 0; if (input_cred_handle == GSS_C_NO_CREDENTIAL) { return GSS_S_CALL_INACCESSIBLE_READ; @@ -322,6 +332,8 @@ OM_uint32 gssi_release_cred(OM_uint32 *minor_status, OM_uint32 maj, min; OM_uint32 rmaj = GSS_S_COMPLETE; + GSSI_TRACE(); + if (*cred_handle == GSS_C_NO_CREDENTIAL) { *minor_status = 0; return GSS_S_COMPLETE; @@ -355,6 +367,8 @@ OM_uint32 gssi_export_cred(OM_uint32 *minor_status, { struct gpp_cred_handle *cred; + GSSI_TRACE(); + cred = (struct gpp_cred_handle *)cred_handle; if (!cred) { return GSS_S_CALL_INACCESSIBLE_READ; @@ -373,6 +387,7 @@ OM_uint32 gssi_import_cred(OM_uint32 *minor_status, gss_buffer_t token, gss_cred_id_t *cred_handle) { + GSSI_TRACE(); return GSS_S_UNAVAILABLE; } @@ -387,6 +402,8 @@ OM_uint32 gssi_import_cred_by_mech(OM_uint32 *minor_status, OM_uint32 maj, min = 0; uint32_t len; + GSSI_TRACE(); + cred = calloc(1, sizeof(struct gpp_cred_handle)); if (!cred) { *minor_status = 0; |