Lines Matching refs:ret
42 krb5_error_code ret;
44 ret = krb5_kt_resolve(context, name, id);
45 if (ret)
46 return ret;
48 ret = krb5_kt_have_content(context, *id);
49 if (ret) {
54 return ret;
61 krb5_error_code ret;
65 ret = _gsskrb5_init(&context);
66 if(ret)
76 ret = krb5_kt_default(context, &_gsskrb5_keytab);
81 ret = validate_keytab(context, identity, &_gsskrb5_keytab);
85 if (ret) {
87 ret = asprintf(&p, "FILE:%s", identity);
88 if(ret < 0 || p == NULL) {
92 ret = validate_keytab(context, p, &_gsskrb5_keytab);
97 if(ret) {
98 *min_stat = ret;
107 krb5_error_code ret;
147 ret = krb5_crypto_init(context, key, 0, &ctx->crypto);
161 int32_t ac_flags, ret = GSS_S_COMPLETE;
197 ret = GSS_S_FAILURE;
205 ret = _gsskrb5_krb5_import_cred(minor_status,
210 if (ret != GSS_S_COMPLETE)
228 return ret;
237 OM_uint32 ret;
248 ret = _gssapi_msg_order_create(minor_status,
252 if (ret)
253 return ret;
269 ret = gsskrb5_accept_delegated_token(minor_status,
273 if (ret)
274 return ret;
295 krb5_error_code ret;
306 ret = krb5_decode_ap_req(context, indata, &ap_req);
307 if (ret) {
308 *minor_status = ret;
311 ret = _krb5_principalname2krb5_principal(context,
316 if (ret) {
317 *minor_status = ret;
323 ret = krb5_mk_error(context, kret, NULL, &e_data, NULL,
327 if (ret) {
328 *minor_status = ret;
332 ret = _gsskrb5_encapsulate(minor_status,
338 if (ret)
339 return ret;
361 OM_uint32 ret = GSS_S_COMPLETE;
371 ret = _gsskrb5_decapsulate (minor_status,
377 if (ret) {
450 ret = GSS_S_FAILURE;
452 return ret;
465 ret = GSS_S_FAILURE;
473 ret = GSS_S_FAILURE;
475 return ret;
482 ret = _gss_DES3_get_mic_compat(minor_status, ctx, context);
483 if (ret)
484 return ret;
491 ret = GSS_S_FAILURE;
493 return ret;
508 ret = GSS_S_FAILURE;
510 return ret;
520 ret = _gsskrb5_verify_8003_checksum(minor_status,
527 if (ret) {
528 return ret;
539 ret = GSS_S_FAILURE;
541 return ret;
556 ret = GSS_S_BAD_SIG;
558 return ret;
618 ret = _gsskrb5_encapsulate(minor_status,
624 if (ret)
625 return ret;
640 ret = _gsskrb5_lifetime_left(minor_status,
644 if (ret) {
645 return ret;
665 ret = gsskrb5_acceptor_ready(minor_status, ctx, context,
671 return ret;
688 OM_uint32 ret;
758 ret = _gsskrb5_lifetime_left(minor_status,
762 if (ret) {
763 return ret;
852 OM_uint32 ret;
866 ret = _gsskrb5_create_ctx(minor_status,
871 if (ret)
872 return ret;
887 ret = gsskrb5_acceptor_start(minor_status,
901 ret = acceptor_wait_for_dcestyle(minor_status,
919 ret = GSS_S_BAD_STATUS;
923 ret = GSS_S_BAD_STATUS;
929 if (GSS_ERROR(ret)) {
934 return ret;