Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 164170
Collapse All | Expand All

(-)lib/gssapi.c (-5 lines)
Lines 72-82 Link Here
72
static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
72
static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
73
{10, (void *)"\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04"};
73
{10, (void *)"\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04"};
74
74
75
static gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc;
76
77
78
79
80
/*RCSID("$Id: gssapi.c,v 1.5 2002/12/05 22:12:36 mhe Exp $");*/
75
/*RCSID("$Id: gssapi.c,v 1.5 2002/12/05 22:12:36 mhe Exp $");*/
81
76
82
struct gss_data {
77
struct gss_data {
(-)lib/krb4.c (-18 lines)
Lines 62-85 Link Here
62
};
62
};
63
63
64
static int
64
static int
65
krb_get_int(void *f, u_int32_t *to, int size, int lsb)
66
{
67
    int i;
68
    unsigned char *from = (unsigned char *)f;
69
70
    *to = 0;
71
    if(lsb){
72
        for(i = size-1; i >= 0; i--)
73
            *to = (*to << 8) | from[i];
74
    }else{
75
        for(i = 0; i < size; i++)
76
            *to = (*to << 8) | from[i];
77
    }
78
    return size;
79
}
80
81
82
static int
83
krb4_check_prot(void *app_data, int level)
65
krb4_check_prot(void *app_data, int level)
84
{
66
{
85
    if(level == prot_confidential)
67
    if(level == prot_confidential)

Return to bug 164170