1
0
freeradius-server/freeradius-server-2.1.6-edir-64bit.patch

14 lines
592 B
Diff

Index: src/modules/rlm_ldap/rlm_ldap.c
===================================================================
--- src/modules/rlm_ldap/rlm_ldap.c.orig 2009-09-14 16:43:29.000000000 +0200
+++ src/modules/rlm_ldap/rlm_ldap.c 2009-12-17 13:23:44.000000000 +0100
@@ -1875,7 +1875,7 @@ static int ldap_authenticate(void *insta
LDAP_CONN *conn1;
int auth_state = -1;
char *challenge = NULL;
- int challenge_len = MAX_CHALLENGE_LEN;
+ size_t challenge_len = MAX_CHALLENGE_LEN;
char *state = NULL;
dattr = dict_attrbyname("eDir-APC");