34 if (gss_display_status(&lmin_s,
stat,
type, GSS_C_NO_OID,
35 &msg_ctx, &gmsg) != GSS_S_COMPLETE)
44 memcpy(s +
i, gmsg.value,
Min(
len -
i, gmsg.length));
46 gss_release_buffer(&lmin_s, &gmsg);
76 OM_uint32 maj_stat, OM_uint32 min_stat)
102 #define GSS_MEMORY_CACHE "MEMORY:"
109 gss_cred_usage_t
usage;
110 gss_key_value_element_desc cc;
111 gss_key_value_set_desc ccset;
116 ccset.elements = &cc;
119 major = gss_store_cred_into(&minor,
130 if (major != GSS_S_COMPLETE)
136 major = gss_release_cred(&minor, &cred);
137 if (major != GSS_S_COMPLETE)
void pg_store_delegated_credential(gss_cred_id_t cred)
static void pg_GSS_error_int(char *s, size_t len, OM_uint32 stat, int type)
void pg_GSS_error(const char *errmsg, OM_uint32 maj_stat, OM_uint32 min_stat)
int errmsg_internal(const char *fmt,...)
int errdetail_internal(const char *fmt,...)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
static void usage(const char *progname)