Lines Matching refs:bsd_context

141 static krb5_context bsd_context = NULL;  variable
309 status = krb5_init_context(&bsd_context); in main()
317 (void) profile_get_options_boolean(bsd_context->profile, in main()
324 if (!bsd_context) { in main()
325 status = krb5_init_context(&bsd_context); in main()
374 status = krb5_get_default_realm(bsd_context, &realmdef[1]); in main()
383 (void) profile_get_options_boolean(bsd_context->profile, in main()
388 (void) profile_get_options_boolean(bsd_context->profile, in main()
390 (void) profile_get_options_string(bsd_context->profile, in main()
616 bsd_context, in toremote()
661 status = krb5_auth_con_getlocalsubkey(bsd_context, auth_context, &session_key); in toremote()
683 bsd_context, kcmd_proto, in toremote()
841 bsd_context, in tolocal()
882 bsd_context, auth_context, in tolocal()
900 init_encrypt(encrypt_flag, bsd_context, in tolocal()
2135 if (krb5_set_config_files(bsd_context, filenames)) in answer_auth()
2140 if (krb5_read_message(bsd_context, (krb5_pointer) &rem, &pname_data)) in answer_auth()
2143 if (krb5_read_message(bsd_context, (krb5_pointer) &rem, in answer_auth()
2148 if (krb5_cc_default(bsd_context, &cc)) in answer_auth()
2151 if (krb5_cc_resolve(bsd_context, ccache_file, &cc)) in answer_auth()
2155 if (krb5_cc_get_principal(bsd_context, cc, &creds.client)) in answer_auth()
2158 if (krb5_parse_name(bsd_context, pname_data.data, &creds.server)) in answer_auth()
2162 if (krb5_get_credentials(bsd_context, KRB5_GC_USER_USER, cc, &creds, in answer_auth()
2166 if (krb5_mk_req_extended(bsd_context, &auth_context, in answer_auth()
2170 if (krb5_write_message(bsd_context, (krb5_pointer) & rem, &msg)) { in answer_auth()
2175 (void) krb5_copy_keyblock(bsd_context, in answer_auth()
2182 init_encrypt(encrypt_flag, bsd_context, KCMD_OLD_PROTOCOL, in answer_auth()
2185 krb5_free_cred_contents(bsd_context, &creds); in answer_auth()
2186 krb5_free_creds(bsd_context, new_creds); in answer_auth()