Lines Matching refs:ret
41 krb5_error_code ret;
52 ret = ENOMEM;
53 krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
65 ret = krb5_sockaddr2address (context, a->ai_addr, &ad);
66 if (ret == 0) {
72 else if (ret == KRB5_PROG_ATYPE_NOSUPP)
81 return ret;
115 krb5_error_code ret;
140 ret = krb5_make_principal(context,
146 if (ret)
147 return ret;
149 ret = krb5_get_forwarded_creds (context,
156 return ret;
195 krb5_error_code ret;
213 ret = krb5_get_credentials(context, 0, ccache, in_creds, &ticket);
214 if(ret == 0) {
235 ret = getaddrinfo (hostname, NULL, NULL, &ai);
236 if (ret) {
237 krb5_error_code ret2 = krb5_eai_to_heim_errno(ret, errno);
241 hostname, gai_strerror(ret));
245 ret = add_addrs (context, &addrs, ai);
247 if (ret)
248 return ret;
253 ret = krb5_get_kdc_cred (context,
261 if (ret)
262 return ret;
269 ret = ENOMEM;
270 krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
273 ret = decode_Ticket(out_creds->ticket.data,
276 if (ret)
282 ret = ENOMEM;
283 krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
295 ret = ENOMEM;
296 krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
302 ret = ENOMEM;
303 krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
314 ret = krb5_make_addrport (context,
318 if (ret)
336 ret = krb5_make_addrport (context,
340 if (ret)
346 ret = ENOMEM;
347 krb5_set_error_message(context, ret,
352 ret = krb5_copy_address (context, auth_context->remote_address,
354 if (ret)
392 &enc_krb_cred_part, &len, ret);
394 if (ret) {
396 return ret;
422 ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
423 if (ret) {
426 return ret;
428 ret = krb5_encrypt_EncryptedData (context,
437 if (ret) {
439 return ret;
443 ASN1_MALLOC_ENCODE(KRB_CRED, buf, buf_size, &cred, &len, ret);
445 if (ret)
446 return ret;
458 return ret;