Lines Matching refs:krb5
87 struct kerberos5data *krb5, in Curl_auth_create_gssapi_user_message() argument
101 if(!krb5->spn) { in Curl_auth_create_gssapi_user_message()
113 GSS_C_NT_HOSTBASED_SERVICE, &krb5->spn); in Curl_auth_create_gssapi_user_message()
137 &krb5->context, in Curl_auth_create_gssapi_user_message()
138 krb5->spn, in Curl_auth_create_gssapi_user_message()
185 struct kerberos5data *krb5, in Curl_auth_create_gssapi_security_message() argument
212 major_status = gss_unwrap(&minor_status, krb5->context, &input_token, in Curl_auth_create_gssapi_security_message()
276 major_status = gss_wrap(&minor_status, krb5->context, 0, in Curl_auth_create_gssapi_security_message()
307 void Curl_auth_cleanup_gssapi(struct kerberos5data *krb5) in Curl_auth_cleanup_gssapi() argument
312 if(krb5->context != GSS_C_NO_CONTEXT) { in Curl_auth_cleanup_gssapi()
313 gss_delete_sec_context(&minor_status, &krb5->context, GSS_C_NO_BUFFER); in Curl_auth_cleanup_gssapi()
314 krb5->context = GSS_C_NO_CONTEXT; in Curl_auth_cleanup_gssapi()
318 if(krb5->spn != GSS_C_NO_NAME) { in Curl_auth_cleanup_gssapi()
319 gss_release_name(&minor_status, &krb5->spn); in Curl_auth_cleanup_gssapi()
320 krb5->spn = GSS_C_NO_NAME; in Curl_auth_cleanup_gssapi()