2N/A#include "int-proto.h"
2N/A#include "os-proto.h"
2N/A#include "init_creds_ctx.h"
2N/A#include "kerberos_dtrace.h"
2N/A#if APPLE_PKINIT
2N/A#if IN_TKT_DEBUG
2N/A krb5_keyblock **);
2N/A const krb5_keyblock *,
2N/A krb5_kdc_rep * );
2N/A int, krb5_pa_data ***);
2N/Astatic krb5_int32
2N/A if ((x > 0) && (y > (KRB5_INT32_MAX - x))) {
2N/A return KRB5_INT32_MAX;
2N/A } else if ((x < 0) && (y < (KRB5_INT32_MIN - x))) {
2N/A return KRB5_INT32_MIN;
2N/A#if APPLE_PKINIT
2N/Astatic krb5_error_code
2N/Astatic krb5_error_code
2N/A int *use_master)
2N/A#if APPLE_PKINIT
2N/A if (ret_err_reply) {
2N/A goto send_again;
2N/A/* these are in <kerberosIV/prot.h> as well but it isn't worth including. */
2N/A /* From v4 g_in_tkt.c: This used to be
2N/A if (ret_as_reply)
2N/Astatic krb5_error_code
2N/Astatic krb5_error_code
2N/A goto verification_error;
2N/A goto verification_error;
2N/Astatic krb5_error_code
2N/A#if APPLE_PKINIT
2N/A#if IN_TKT_DEBUG
2N/A return KRB5_KDCREP_MODIFIED;
2N/A return (KRB5_KDCREP_SKEW);
2N/Astatic krb5_error_code
2N/Astatic krb5_error_code
2N/Astatic krb5_error_code
2N/Astatic krb5_error_code
2N/A#if APPLE_PKINIT
2N/A return KRB5_IN_TKT_REALM_MISMATCH;
2N/A if (ret_as_reply)
2N/A *ret_as_reply = 0;
2N/A#if APPLE_PKINIT
2N/A krb5_enctype t;
2N/A#if APPLE_PKINIT
2N/A if (preauth_to_use)
2N/A preauth_to_use = 0;
2N/A decryptarg)))
2N/A if (preauth_to_use)
2N/A if (decrypt_key)
2N/A if (ret_as_reply)
2N/A if (referred_server)
2N/Astatic krb5_error_code
2N/A need_free_string = 0;
2N/A if (need_free_string)
2N/Astatic krb5_error_code
2N/A char *in_tkt_service,
2N/A if (in_tkt_service) {
2N/Avoid KRB5_CALLCONV
2N/Astatic krb5_error_code
2N/A int *use_master)
2N/A return KRB5_NO_TKT_SUPPLIED;
2N/A return KRB5_NO_TKT_SUPPLIED;
2N/Astatic krb5_error_code
2N/A krb5_anonymous_principal())) {
2N/Astatic krb5_error_code
2N/A return KRB5KRB_ERR_RESPONSE_TOO_BIG;
2N/A/* these are in <kerberosIV/prot.h> as well but it isn't worth including. */
2N/A /* From v4 g_in_tkt.c: This used to be
2N/A return KRB5KRB_AP_ERR_MSG_TYPE;
2N/Astatic krb5_error_code
2N/Astatic krb5_boolean
2N/Astatic krb5_error_code
2N/A return KRB5_CONFIG_ETYPE_NOSUPP;
2N/Astatic krb5_error_code
2N/A char *hostname_used)
2N/A goto cc_cleanup;
2N/A goto cc_cleanup;
2N/A if (fast_avail) {
2N/A case KRB5_PREAUTH_FAILED:
2N/A sizeof (stimestring),
2N/A case KRB5_KDCREP_MODIFIED:
2N/A goto copy_realm;
2N/A void *prompter_data,
2N/A char *in_tkt_service,
2N/A int *use_master,
2N/A if (in_tkt_service) {
2N/A if (pre_auth_types) {
2N/A for (i=0; pre_auth_types[i]; i++);