Lines Matching full:check

37 #define CHECK(e) do { if (e) return EINVAL; } while (0)  macro
44 CHECK(krb5_store_int32(sp, key->key_data_ver)); in kadm5_store_key_data()
45 CHECK(krb5_store_int32(sp, key->key_data_kvno)); in kadm5_store_key_data()
46 CHECK(krb5_store_int32(sp, key->key_data_type[0])); in kadm5_store_key_data()
49 CHECK(krb5_store_data(sp, c)); in kadm5_store_key_data()
50 CHECK(krb5_store_int32(sp, key->key_data_type[1])); in kadm5_store_key_data()
53 CHECK(krb5_store_data(sp, c)); in kadm5_store_key_data()
99 CHECK(krb5_store_int32(sp, tl->tl_data_type)); in kadm5_store_tl_data()
102 CHECK(krb5_store_data(sp, c)); in kadm5_store_tl_data()
114 CHECK(krb5_ret_data(sp, &c)); in kadm5_ret_tl_data()
128 CHECK(krb5_store_principal(sp, princ->principal)); in store_principal_ent()
130 CHECK(krb5_store_int32(sp, princ->princ_expire_time)); in store_principal_ent()
132 CHECK(krb5_store_int32(sp, princ->pw_expiration)); in store_principal_ent()
134 CHECK(krb5_store_int32(sp, princ->last_pwd_change)); in store_principal_ent()
136 CHECK(krb5_store_int32(sp, princ->max_life)); in store_principal_ent()
138 CHECK(krb5_store_int32(sp, princ->mod_name != NULL)); in store_principal_ent()
140 CHECK(krb5_store_principal(sp, princ->mod_name)); in store_principal_ent()
143 CHECK(krb5_store_int32(sp, princ->mod_date)); in store_principal_ent()
145 CHECK(krb5_store_int32(sp, princ->attributes)); in store_principal_ent()
147 CHECK(krb5_store_int32(sp, princ->kvno)); in store_principal_ent()
149 CHECK(krb5_store_int32(sp, princ->mkvno)); in store_principal_ent()
151 CHECK(krb5_store_int32(sp, princ->policy != NULL)); in store_principal_ent()
153 CHECK(krb5_store_string(sp, princ->policy)); in store_principal_ent()
156 CHECK(krb5_store_int32(sp, princ->aux_attributes)); in store_principal_ent()
158 CHECK(krb5_store_int32(sp, princ->max_renewable_life)); in store_principal_ent()
160 CHECK(krb5_store_int32(sp, princ->last_success)); in store_principal_ent()
162 CHECK(krb5_store_int32(sp, princ->last_failed)); in store_principal_ent()
164 CHECK(krb5_store_int32(sp, princ->fail_auth_count)); in store_principal_ent()
166 CHECK(krb5_store_int32(sp, princ->n_key_data)); in store_principal_ent()
168 CHECK(kadm5_store_key_data(sp, &princ->key_data[i])); in store_principal_ent()
173 CHECK(krb5_store_int32(sp, princ->n_tl_data)); in store_principal_ent()
175 CHECK(kadm5_store_tl_data(sp, tp)); in store_principal_ent()
210 CHECK(krb5_ret_principal(sp, &princ->principal)); in ret_principal_ent()
212 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
216 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
220 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
224 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
228 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
230 CHECK(krb5_ret_principal(sp, &princ->mod_name)); in ret_principal_ent()
235 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
239 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
243 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
247 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
251 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
253 CHECK(krb5_ret_string(sp, &princ->policy)); in ret_principal_ent()
258 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
262 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
266 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
270 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
274 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
278 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
284 CHECK(kadm5_ret_key_data(sp, &princ->key_data[i])); in ret_principal_ent()
287 CHECK(krb5_ret_int32(sp, &tmp)); in ret_principal_ent()
294 CHECK(kadm5_ret_tl_data(sp, tp)); in ret_principal_ent()