summaryrefslogtreecommitdiff
blob: 2bf7b454c34c8a553e65dee1aa6da514e9fc65c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff -ur lib/gssapi.c lib/gssapi.c
--- lib/gssapi.c.orig       2007-03-12 22:12:21.000000000 +0100
+++ lib/gssapi.c    2007-03-12 22:12:36.000000000 +0100
@@ -72,11 +72,6 @@
 static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
 {10, (void *)"\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04"};

-static gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc;
-
-
-
-
 /*RCSID("$Id: gssapi.c,v 1.5 2002/12/05 22:12:36 mhe Exp $");*/

 struct gss_data {
diff -ur lib/krb4.c /tmp/yafc-1.1.1/lib/krb4.c
--- lib/krb4.c	2002-12-05 22:12:37.000000000 +0000
+++ lib/krb4.c	2006-12-16 13:23:46.000000000 +0000
@@ -62,24 +62,6 @@
 };
 
 static int
-krb_get_int(void *f, u_int32_t *to, int size, int lsb)
-{
-    int i;
-    unsigned char *from = (unsigned char *)f;
-
-    *to = 0;
-    if(lsb){
-        for(i = size-1; i >= 0; i--)
-            *to = (*to << 8) | from[i];
-    }else{
-        for(i = 0; i < size; i++)
-            *to = (*to << 8) | from[i];
-    }
-    return size;
-}
-
-
-static int
 krb4_check_prot(void *app_data, int level)
 {
     if(level == prot_confidential)