rename KRB5_TL_MOD_PRINC to mit_KRB5_TL_MOD_PRINC to hint its a
constant originating from mit codebase git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15344 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -310,10 +310,10 @@ mit_prop_dump(void *arg, const char *file)
|
|||||||
tl_type = getint(&p); /* data type */
|
tl_type = getint(&p); /* data type */
|
||||||
tl_length = getint(&p); /* data length */
|
tl_length = getint(&p); /* data length */
|
||||||
|
|
||||||
#define KRB5_TL_LAST_PWD_CHANGE 1
|
#define mit_KRB5_TL_LAST_PWD_CHANGE 1
|
||||||
#define KRB5_TL_MOD_PRINC 2
|
#define mit_KRB5_TL_MOD_PRINC 2
|
||||||
switch(tl_type) {
|
switch(tl_type) {
|
||||||
case KRB5_TL_MOD_PRINC:
|
case mit_KRB5_TL_MOD_PRINC:
|
||||||
buf = malloc(tl_length);
|
buf = malloc(tl_length);
|
||||||
getdata(&p, buf, tl_length); /* data itself */
|
getdata(&p, buf, tl_length); /* data itself */
|
||||||
val = buf[0] | (buf[1] << 8) | (buf[2] << 16) | (buf[3] << 24);
|
val = buf[0] | (buf[1] << 8) | (buf[2] << 16) | (buf[3] << 24);
|
||||||
|
Reference in New Issue
Block a user