Home
last modified time | relevance | path

Searched full:context (Results 1 – 25 of 4014) sorted by relevance

12345678910>>...161

/freebsd/crypto/heimdal/lib/krb5/
H A Dtest_cc.c48 test_default_name(krb5_context context) in test_default_name() argument
54 p = krb5_cc_default_name(context); in test_default_name()
56 krb5_errx (context, 1, "krb5_cc_default_name 1 failed"); in test_default_name()
59 ret = krb5_cc_set_default_name(context, NULL); in test_default_name()
61 krb5_errx (context, 1, "krb5_cc_set_default_name failed"); in test_default_name()
63 p = krb5_cc_default_name(context); in test_default_name()
65 krb5_errx (context, 1, "krb5_cc_default_name 2 failed"); in test_default_name()
69 krb5_errx (context, 1, "krb5_cc_default_name no longer same"); in test_default_name()
71 ret = krb5_cc_set_default_name(context, test_cc_name); in test_default_name()
73 krb5_errx (context, 1, "krb5_cc_set_default_name 1 failed"); in test_default_name()
[all …]
H A Dcontext.c57 set_etypes (krb5_context context, in set_etypes() argument
64 etypes_str = krb5_config_get_strings(context, NULL, "libdefaults", in set_etypes()
72 krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", "")); in set_etypes()
77 if(krb5_string_to_enctype(context, etypes_str[j], &e) != 0) in set_etypes()
79 if (krb5_enctype_valid(context, e) != 0) in set_etypes()
91 * read variables from the configuration file and set in `context'
95 init_context_from_config_file(krb5_context context) in init_context_from_config_file() argument
102 INIT_FIELD(context, time, max_skew, 5 * 60, "clockskew"); in init_context_from_config_file()
103 INIT_FIELD(context, time, kdc_timeout, 3, "kdc_timeout"); in init_context_from_config_file()
104 INIT_FIELD(context, int, max_retries, 3, "max_retries"); in init_context_from_config_file()
[all …]
H A Dtest_princ.c42 test_princ(krb5_context context) in test_princ() argument
54 ret = krb5_parse_name(context, princ, &p); in test_princ()
56 krb5_err(context, 1, ret, "krb5_parse_name"); in test_princ()
58 ret = krb5_unparse_name(context, p, &princ_unparsed); in test_princ()
60 krb5_err(context, 1, ret, "krb5_parse_name"); in test_princ()
63 krb5_errx(context, 1, "%s != %s", princ, princ_unparsed); in test_princ()
68 ret = krb5_unparse_name_flags(context, p, in test_princ()
72 krb5_err(context, 1, ret, "krb5_parse_name"); in test_princ()
75 krb5_errx(context, 1, "%s != %s", princ_short, princ_unparsed); in test_princ()
78 realm = krb5_principal_get_realm(context, p); in test_princ()
[all …]
H A Derror_string.c40 * Clears the error message from the Kerberos 5 context.
42 * @param context The Kerberos 5 context to clear
48 krb5_clear_error_message(krb5_context context) in krb5_clear_error_message() argument
50 HEIMDAL_MUTEX_lock(context->mutex); in krb5_clear_error_message()
51 if (context->error_string) in krb5_clear_error_message()
52 free(context->error_string); in krb5_clear_error_message()
53 context->error_code = 0; in krb5_clear_error_message()
54 context->error_string = NULL; in krb5_clear_error_message()
55 HEIMDAL_MUTEX_unlock(context->mutex); in krb5_clear_error_message()
59 * Set the context full error string for a specific error code.
[all …]
H A Dcache.c66 krb5_context context;
72 if (krb5_init_context (&context) != 0)
75 ret = krb5_cc_default (context, &id);
77 krb5_err(context, 1, ret, "krb5_cc_default");
79 ret = krb5_cc_start_seq_get(context, id, &cursor);
81 krb5_err(context, 1, ret, "krb5_cc_start_seq_get");
83 while((ret = krb5_cc_next_cred(context, id, &cursor, &creds)) == 0){
86 krb5_unparse_name(context, creds.server, &principal);
89 krb5_free_cred_contents (context, &creds);
91 ret = krb5_cc_end_seq_get(context, id, &cursor);
[all …]
H A Dtest_keytab.c43 test_empty_keytab(krb5_context context, const char *keytab) in test_empty_keytab() argument
49 ret = krb5_kt_resolve(context, keytab, &id); in test_empty_keytab()
51 krb5_err(context, 1, ret, "krb5_kt_resolve"); in test_empty_keytab()
55 krb5_kt_remove_entry(context, id, &entry); in test_empty_keytab()
57 ret = krb5_kt_have_content(context, id); in test_empty_keytab()
59 krb5_errx(context, 1, "supposed to be empty keytab isn't"); in test_empty_keytab()
61 ret = krb5_kt_close(context, id); in test_empty_keytab()
63 krb5_err(context, 1, ret, "krb5_kt_close"); in test_empty_keytab()
71 test_memory_keytab(krb5_context context, const char *keytab, const char *keytab2) in test_memory_keytab() argument
77 ret = krb5_kt_resolve(context, keytab, &id); in test_memory_keytab()
[all …]
H A Dkeytab.c94 krb5_context context;
101 if (krb5_init_context (&context) != 0)
104 ret = krb5_kt_default (context, &keytab);
106 krb5_err(context, 1, ret, "krb5_kt_default");
108 ret = krb5_kt_start_seq_get(context, keytab, &cursor);
110 krb5_err(context, 1, ret, "krb5_kt_start_seq_get");
111 while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0){
112 krb5_unparse_name(context, entry.principal, &principal);
115 krb5_kt_free_entry(context, &entry);
117 ret = krb5_kt_end_seq_get(context, keytab, &cursor);
[all …]
H A Drd_req.c38 decrypt_tkt_enc_part (krb5_context context, in decrypt_tkt_enc_part() argument
48 ret = krb5_crypto_init(context, key, 0, &crypto); in decrypt_tkt_enc_part()
51 ret = krb5_decrypt_EncryptedData (context, in decrypt_tkt_enc_part()
56 krb5_crypto_destroy(context, crypto); in decrypt_tkt_enc_part()
62 krb5_set_error_message(context, ret, in decrypt_tkt_enc_part()
70 decrypt_authenticator (krb5_context context, in decrypt_authenticator() argument
81 ret = krb5_crypto_init(context, key, 0, &crypto); in decrypt_authenticator()
84 ret = krb5_decrypt_EncryptedData (context, in decrypt_authenticator()
91 ret = krb5_decrypt_EncryptedData (context, in decrypt_authenticator()
96 krb5_crypto_destroy(context, crypto); in decrypt_authenticator()
[all …]
H A Dkrb5-protos.h39 krb5_context /*context*/,
46 krb5_context /*context*/,
54 krb5_context /*context*/,
62 krb5_context /*context*/,
69 krb5_context /*context*/,
76 krb5_context /*context*/,
83 krb5_context /*context*/,
88 krb5_context /*context*/,
93 krb5_context /*context*/,
98 krb5_context /*context*/,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp44 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { in Z3ErrorHandler() argument
46 llvm::Twine(Z3_get_error_msg(Context, Error))); in Z3ErrorHandler()
49 /// Wrapper for Z3 context
53 Z3_context Context; member in __anona2cc94240111::Z3Context
56 Context = Z3_mk_context_rc(Config.Config); in Z3Context()
57 // The error function is set here because the context is the first object in Z3Context()
59 Z3_set_error_handler(Context, Z3ErrorHandler); in Z3Context()
68 Z3_del_context(Context); in ~Z3Context()
69 Context = nullptr; in ~Z3Context()
77 Z3Context &Context; member in __anona2cc94240111::Z3Sort
[all …]
/freebsd/crypto/heimdal/doc/doxyout/krb5/man/man3/
H A Dkrb5_crypto.310 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_enctype_valid\fP (krb5_context context
13 …5_error_code KRB5_LIB_CALL \fBkrb5_cksumtype_to_enctype\fP (krb5_context context, krb5_cksumtype c…
16 … krb5_error_code KRB5_LIB_CALL \fBkrb5_encrypt_iov_ivec\fP (krb5_context context, krb5_crypto cryp…
19 … krb5_error_code KRB5_LIB_CALL \fBkrb5_decrypt_iov_ivec\fP (krb5_context context, krb5_crypto cryp…
22 …b5_error_code KRB5_LIB_CALL \fBkrb5_create_checksum_iov\fP (krb5_context context, krb5_crypto cryp…
25 …b5_error_code KRB5_LIB_CALL \fBkrb5_verify_checksum_iov\fP (krb5_context context, krb5_crypto cryp…
28 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_crypto_init\fP (krb5_context context, …
31 …ON krb5_error_code KRB5_LIB_CALL \fBkrb5_crypto_destroy\fP (krb5_context context, krb5_crypto cryp…
34 …b5_error_code KRB5_LIB_CALL \fBkrb5_crypto_getblocksize\fP (krb5_context context, krb5_crypto cryp…
37 …krb5_error_code KRB5_LIB_CALL \fBkrb5_crypto_getenctype\fP (krb5_context context, krb5_crypto cryp…
[all …]
H A Dkrb5.39 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_add_et_list\fP (krb5_context context, …
12 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_set_password\fP (krb5_context context,…
15 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_init_context\fP (krb5_context *context
18 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_copy_context\fP (krb5_context context,…
21 .RI "KRB5_LIB_FUNCTION void KRB5_LIB_CALL \fBkrb5_free_context\fP (krb5_context context)"
24 … krb5_error_code KRB5_LIB_CALL \fBkrb5_set_config_files\fP (krb5_context context, char **filenames…
36 …LIB_FUNCTION const krb5_enctype *KRB5_LIB_CALL \fBkrb5_kerberos_enctypes\fP (krb5_context context)"
39 …or_code KRB5_LIB_CALL \fBkrb5_set_default_in_tkt_etypes\fP (krb5_context context, const krb5_encty…
42 …or_code KRB5_LIB_CALL \fBkrb5_get_default_in_tkt_etypes\fP (krb5_context context, krb5_pdu pdu_typ…
45 .RI "KRB5_LIB_FUNCTION void KRB5_LIB_CALL \fBkrb5_init_ets\fP (krb5_context context)"
[all …]
H A Dkrb5_ccache.310 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_cc_register\fP (krb5_context context, …
13 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_cc_resolve\fP (krb5_context context, c…
16 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_cc_new_unique\fP (krb5_context context
19 .RI "KRB5_LIB_FUNCTION const char *KRB5_LIB_CALL \fBkrb5_cc_get_name\fP (krb5_context context, krb5…
22 .RI "KRB5_LIB_FUNCTION const char *KRB5_LIB_CALL \fBkrb5_cc_get_type\fP (krb5_context context, krb5…
25 … krb5_error_code KRB5_LIB_CALL \fBkrb5_cc_get_full_name\fP (krb5_context context, krb5_ccache id, …
28 .RI "KRB5_LIB_FUNCTION const krb5_cc_ops *KRB5_LIB_CALL \fBkrb5_cc_get_ops\fP (krb5_context context
31 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_cc_switch\fP (krb5_context context, kr…
34 …ON krb5_boolean KRB5_LIB_CALL \fBkrb5_cc_support_switch\fP (krb5_context context, const char *type…
37 …b5_error_code KRB5_LIB_CALL \fBkrb5_cc_set_default_name\fP (krb5_context context, const char *name…
[all …]
H A Dkrb5_principal.310 .RI "KRB5_LIB_FUNCTION void KRB5_LIB_CALL \fBkrb5_free_principal\fP (krb5_context context, krb5_pri…
13 .RI "KRB5_LIB_FUNCTION void KRB5_LIB_CALL \fBkrb5_principal_set_type\fP (krb5_context context, krb5…
16 .RI "KRB5_LIB_FUNCTION int KRB5_LIB_CALL \fBkrb5_principal_get_type\fP (krb5_context context, krb5_…
19 …N const char *KRB5_LIB_CALL \fBkrb5_principal_get_realm\fP (krb5_context context, krb5_const_princ…
22 …signed int KRB5_LIB_CALL \fBkrb5_principal_get_num_comp\fP (krb5_context context, krb5_const_princ…
25 … krb5_error_code KRB5_LIB_CALL \fBkrb5_parse_name_flags\fP (krb5_context context, const char *name…
28 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_parse_name\fP (krb5_context context, c…
31 …rb5_error_code KRB5_LIB_CALL \fBkrb5_unparse_name_fixed\fP (krb5_context context, krb5_const_princ…
34 …ror_code KRB5_LIB_CALL \fBkrb5_unparse_name_fixed_short\fP (krb5_context context, krb5_const_princ…
37 …ror_code KRB5_LIB_CALL \fBkrb5_unparse_name_fixed_flags\fP (krb5_context context, krb5_const_princ…
[all …]
H A Dkrb5_support.310 … krb5_error_code KRB5_LIB_CALL \fBkrb5_acl_match_string\fP (krb5_context context, const char *stri…
13 …ON krb5_error_code KRB5_LIB_CALL \fBkrb5_acl_match_file\fP (krb5_context context, const char *file…
16 …rror_code KRB5_LIB_CALL \fBkrb5_config_parse_file_multi\fP (krb5_context context, const char *fnam…
19 … krb5_error_code KRB5_LIB_CALL \fBkrb5_config_file_free\fP (krb5_context context, krb5_config_sect…
22 …5_config_binding *KRB5_LIB_CALL \fBkrb5_config_get_list\fP (krb5_context context, const krb5_confi…
25 …_config_binding *KRB5_LIB_CALL \fBkrb5_config_vget_list\fP (krb5_context context, const krb5_confi…
28 .RI "KRB5_LIB_FUNCTION const char *KRB5_LIB_CALL \fBkrb5_config_get_string\fP (krb5_context context
31 …ON const char *KRB5_LIB_CALL \fBkrb5_config_vget_string\fP (krb5_context context, const krb5_confi…
34 … char *KRB5_LIB_CALL \fBkrb5_config_vget_string_default\fP (krb5_context context, const krb5_confi…
37 …t char *KRB5_LIB_CALL \fBkrb5_config_get_string_default\fP (krb5_context context, const krb5_confi…
[all …]
H A Dkrb5_keytab.310 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_register\fP (krb5_context context, …
13 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_resolve\fP (krb5_context context, c…
16 …N krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_default_name\fP (krb5_context context, char *name, size…
19 …error_code KRB5_LIB_CALL \fBkrb5_kt_default_modify_name\fP (krb5_context context, char *name, size…
22 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_default\fP (krb5_context context, k…
25 …b5_error_code KRB5_LIB_CALL \fBkrb5_kt_read_service_key\fP (krb5_context context, krb5_pointer key…
28 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_get_type\fP (krb5_context context, …
31 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_get_name\fP (krb5_context context, …
34 … krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_get_full_name\fP (krb5_context context, krb5_keytab keyt…
37 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_kt_close\fP (krb5_context context, krb…
[all …]
H A Dkrb5_deprecated.310 …N krb5_error_code KRB5_LIB_CALL \fBkrb5_change_password\fP (krb5_context context, krb5_creds *cred…
13 …or_code KRB5_LIB_CALL \fBkrb5_config_parse_string_multi\fP (krb5_context context, const char *stri…
16 …b5_error_code KRB5_LIB_CALL \fBkrb5_keytype_to_enctypes\fP (krb5_context context, krb5_keytype key…
19 …_boolean KRB5_LIB_CALL \fBkrb5_enctypes_compatible_keys\fP (krb5_context context, krb5_enctype ety…
22 .RI "KRB5_LIB_FUNCTION void KRB5_LIB_CALL \fBkrb5_free_data_contents\fP (krb5_context context, krb5…
25 …_code KRB5_LIB_CALL \fBkrb5_keytype_to_enctypes_default\fP (krb5_context context, krb5_keytype key…
28 …krb5_error_code KRB5_LIB_CALL \fBkrb5_keytype_to_string\fP (krb5_context context, krb5_keytype key…
31 …krb5_error_code KRB5_LIB_CALL \fBkrb5_string_to_keytype\fP (krb5_context context, const char *stri…
34 …krb5_error_code KRB5_CALLCONV \fBkrb5_password_key_proc\fP (krb5_context context, krb5_enctype typ…
37 …ror_code KRB5_LIB_CALL \fBkrb5_get_in_tkt_with_password\fP (krb5_context context, krb5_flags optio…
[all …]
H A Dkrb5_address.310 … krb5_error_code KRB5_LIB_CALL \fBkrb5_sockaddr2address\fP (krb5_context context, const struct soc…
13 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_sockaddr2port\fP (krb5_context context
16 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_addr2sockaddr\fP (krb5_context context
25 …N krb5_error_code KRB5_LIB_CALL \fBkrb5_h_addr2sockaddr\fP (krb5_context context, int af, const ch…
28 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_h_addr2addr\fP (krb5_context context, …
31 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_anyaddr\fP (krb5_context context, int …
37 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_parse_address\fP (krb5_context context
40 .RI "KRB5_LIB_FUNCTION int KRB5_LIB_CALL \fBkrb5_address_order\fP (krb5_context context, const krb5…
43 .RI "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL \fBkrb5_address_compare\fP (krb5_context context,…
46 .RI "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL \fBkrb5_address_search\fP (krb5_context context, …
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hx509/man/man3/
H A Dhx509_ca.310 .RI "int \fBhx509_ca_tbs_init\fP (hx509_context context, hx509_ca_tbs *tbs)"
16 .RI "int \fBhx509_ca_tbs_set_notBefore\fP (hx509_context context, hx509_ca_tbs tbs, time_t t)"
19 .RI "int \fBhx509_ca_tbs_set_notAfter\fP (hx509_context context, hx509_ca_tbs tbs, time_t t)"
22 .RI "int \fBhx509_ca_tbs_set_notAfter_lifetime\fP (hx509_context context, hx509_ca_tbs tbs, time_t …
28 .RI "int \fBhx509_ca_tbs_set_template\fP (hx509_context context, hx509_ca_tbs tbs, int flags, hx509…
31 .RI "int \fBhx509_ca_tbs_set_ca\fP (hx509_context context, hx509_ca_tbs tbs, int pathLenConstraint)"
34 .RI "int \fBhx509_ca_tbs_set_proxy\fP (hx509_context context, hx509_ca_tbs tbs, int pathLenConstrai…
37 .RI "int \fBhx509_ca_tbs_set_domaincontroller\fP (hx509_context context, hx509_ca_tbs tbs)"
40 .RI "int \fBhx509_ca_tbs_set_spki\fP (hx509_context context, hx509_ca_tbs tbs, const SubjectPublicK…
43 .RI "int \fBhx509_ca_tbs_set_serialnumber\fP (hx509_context context, hx509_ca_tbs tbs, const heim_i…
[all …]
H A Dhx509_verify.310 .RI "void \fBhx509_context_set_missing_revoke\fP (hx509_context context, int flag)"
13 .RI "int \fBhx509_verify_init_ctx\fP (hx509_context context, hx509_verify_ctx *ctx)"
37 .RI "int \fBhx509_verify_path\fP (hx509_context context, hx509_verify_ctx ctx, hx509_cert cert, hx5…
40 .RI "int \fBhx509_ocsp_verify\fP (hx509_context context, time_t now, hx509_cert cert, int flags, co…
43 .RI "int \fBhx509_crl_alloc\fP (hx509_context context, hx509_crl *crl)"
46 .RI "int \fBhx509_crl_add_revoked_certs\fP (hx509_context context, hx509_crl crl, hx509_certs certs…
49 .RI "int \fBhx509_crl_lifetime\fP (hx509_context context, hx509_crl crl, int delta)"
52 .RI "void \fBhx509_crl_free\fP (hx509_context context, hx509_crl *crl)"
55 .RI "int \fBhx509_crl_sign\fP (hx509_context context, hx509_cert signer, hx509_crl crl, heim_octet_…
63 .SS "void hx509_context_set_missing_revoke (hx509_context context, int flag)"
[all …]
H A Dhx509_keyset.310 .RI "int \fBhx509_certs_init\fP (hx509_context context, const char *name, int flags, hx509_lock loc…
13 .RI "int \fBhx509_certs_store\fP (hx509_context context, hx509_certs certs, int flags, hx509_lock l…
19 .RI "int \fBhx509_certs_start_seq\fP (hx509_context context, hx509_certs certs, hx509_cursor *curso…
22 .RI "int \fBhx509_certs_next_cert\fP (hx509_context context, hx509_certs certs, hx509_cursor cursor…
25 .RI "int \fBhx509_certs_end_seq\fP (hx509_context context, hx509_certs certs, hx509_cursor cursor)"
28 .RI "int \fBhx509_certs_iter_f\fP (hx509_context context, hx509_certs certs, int(*func)(hx509_conte…
31 .RI "int \fBhx509_ci_print_names\fP (hx509_context context, void *ctx, hx509_cert c)"
34 .RI "int \fBhx509_certs_add\fP (hx509_context context, hx509_certs certs, hx509_cert cert)"
37 .RI "int \fBhx509_certs_find\fP (hx509_context context, hx509_certs certs, const hx509_query *q, hx…
40 .RI "int \fBhx509_certs_filter\fP (hx509_context context, hx509_certs certs, const hx509_query *q, …
[all …]
/freebsd/crypto/heimdal/lib/kadm5/
H A Dchpass_s.c44 kadm5_server_context *context = server_handle; in change() local
52 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0); in change()
56 ret = context->db->hdb_fetch_kvno(context->context, context->db, princ, in change()
61 if (context->db->hdb_capability_flags & HDB_CAP_F_HANDLE_PASSWORDS) { in change()
62 ret = context->db->hdb_password(context->context, context->db, in change()
74 ret = _kadm5_set_keys(context, &ent.entry, password); in change()
76 _kadm5_free_keys (context->context, num_keys, keys); in change()
84 _kadm5_free_keys (context->context, num_keys, keys); in change()
88 krb5_set_error_message(context->context, ret, in change()
93 ret = hdb_seal_keys(context->context, context->db, &ent.entry); in change()
[all …]
H A Dcreate_s.c39 get_default(kadm5_server_context *context, krb5_principal princ, in get_default() argument
44 krb5_const_realm realm = krb5_principal_get_realm(context->context, princ); in get_default()
46 ret = krb5_make_principal(context->context, &def_principal, in get_default()
50 ret = kadm5_s_get_principal(context, def_principal, def, in get_default()
52 krb5_free_principal (context->context, def_principal); in get_default()
57 create_principal(kadm5_server_context *context, in create_principal() argument
76 ret = krb5_copy_principal(context->context, princ->principal, in create_principal()
82 ret = get_default(context, princ->principal, defent); in create_principal()
90 ret = _kadm5_setup_entry(context, in create_principal()
95 kadm5_free_principal_ent(context, defent); in create_principal()
[all …]
H A Dipropd_slave.c47 connect_to_master (krb5_context context, const char *master, in connect_to_master() argument
66 krb5_warnx(context, "Failed to get address of to %s: %s", in connect_to_master()
82 krb5_warn(context, errno, "connection failed to %s[%s]", in connect_to_master()
87 krb5_warnx(context, "connection successful " in connect_to_master()
100 get_creds(krb5_context context, const char *keytab_str, in get_creds() argument
112 ret = krb5_kt_default_name (context, keytab_buf, sizeof(keytab_buf)); in get_creds()
114 krb5_err (context, 1, ret, "krb5_kt_default_name"); in get_creds()
118 ret = krb5_kt_resolve(context, keytab_str, &keytab); in get_creds()
120 krb5_err(context, 1, ret, "%s", keytab_str); in get_creds()
123 ret = krb5_sname_to_principal (context, slave_str, IPROP_NAME, in get_creds()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_context.cpp15 TEST(TestRtsanContext, CanCreateContext) { __rtsan::Context context{}; } in TEST() local
18 __rtsan::Context context{}; in TEST() local
19 context.ExpectNotRealtime("do_some_stuff"); in TEST()
23 __rtsan::Context context{}; in TEST() local
24 context.RealtimePush(); in TEST()
25 context.RealtimePop(); in TEST()
26 context.ExpectNotRealtime("do_some_stuff"); in TEST()
30 __rtsan::Context context{}; in TEST() local
32 context.RealtimePush(); in TEST()
33 EXPECT_DEATH(context.ExpectNotRealtime("do_some_stuff"), ""); in TEST()
[all …]

12345678910>>...161