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()
275 major_status = gss_wrap(&minor_status, krb5->context, 0, in Curl_auth_create_gssapi_security_message()
306 void Curl_auth_cleanup_gssapi(struct kerberos5data *krb5) in Curl_auth_cleanup_gssapi() argument
311 if(krb5->context != GSS_C_NO_CONTEXT) { in Curl_auth_cleanup_gssapi()
312 gss_delete_sec_context(&minor_status, &krb5->context, GSS_C_NO_BUFFER); in Curl_auth_cleanup_gssapi()
313 krb5->context = GSS_C_NO_CONTEXT; in Curl_auth_cleanup_gssapi()
317 if(krb5->spn != GSS_C_NO_NAME) { in Curl_auth_cleanup_gssapi()
318 gss_release_name(&minor_status, &krb5->spn); in Curl_auth_cleanup_gssapi()
319 krb5->spn = GSS_C_NO_NAME; in Curl_auth_cleanup_gssapi()