noerror
noerror(krb5_init_context(&ctx));
noerror(kr_attr_decode(ctx, secret, auth, KRAD_ATTR_USER_PASSWORD,
noerror(krb5_init_context(&ctx));
noerror(krad_attrset_new(ctx, &set));
noerror(krad_attrset_add(set, KRAD_ATTR_USER_NAME, &tmp));
noerror(krad_attrset_add(set, KRAD_ATTR_USER_PASSWORD, &tmp));
noerror(kr_attrset_encode(set, "foo", auth, FALSE, buffer, &encode_len));
noerror(kr_attrset_decode(ctx, &tmp, "foo", auth, &set));
noerror(krad_client_send(rc, KRAD_CODE_ACCESS_REQUEST, attrs, "localhost",
noerror(krb5_init_context(&kctx));
noerror(krad_client_new(kctx, vctx, &rc));
noerror(krad_attrset_new(kctx, &attrs));
noerror(krad_attrset_add(attrs, KRAD_ATTR_USER_NAME, &tmp));
noerror(krad_attrset_add(attrs, KRAD_ATTR_USER_PASSWORD, &tmp));
noerror(krad_client_send(rc, KRAD_CODE_ACCESS_REQUEST, attrs, "localhost",
noerror(krad_attrset_add(attrs, KRAD_ATTR_USER_PASSWORD, &tmp));
noerror(krad_client_send(rc, KRAD_CODE_ACCESS_REQUEST, attrs, "localhost",
noerror(krad_client_send(rc, KRAD_CODE_ACCESS_REQUEST, attrs, "localhost",
noerror(krb5_init_context(&ctx));
noerror(make_packet(ctx, &username, &password, &packets[ACCEPT_PACKET]));
noerror(krad_packet_decode_request(ctx, "foo", encpkt, NULL, NULL,
noerror(make_packet(ctx, &username, &password, &packets[REJECT_PACKET]));
noerror(krad_packet_decode_request(ctx, "foo", encpkt, NULL, NULL,
noerror(gai_error_code(getaddrinfo("127.0.0.1", "radius", &hints, &ai)));
noerror(do_auth(ctx, ai, "foo", packets[ACCEPT_PACKET], &auth));
noerror(do_auth(ctx, ai, "foo", packets[REJECT_PACKET], &auth));
noerror(do_auth("accept", &pkt));
noerror(krb5_init_context(&kctx));
noerror(krad_attrset_new(kctx, &set));
noerror(krad_attrset_add(set, KRAD_ATTR_USER_NAME, &tmp));
noerror(do_auth("accept", NULL));
noerror(do_auth("reject", NULL));
noerror(do_auth("accept", NULL));
noerror(do_auth("accept", NULL));
noerror(gai_error_code(getaddrinfo("127.0.0.1", "radius", &hints, &ai)));
noerror(kr_remote_new(kctx, vctx, ai, "foo", remote));
goto noerror;
goto noerror;
goto noerror;
goto noerror;
noerror: