Signed-off-by: Steve Dickson <steved@redhat.com>
}
num_krb5_enctypes = n;
- if (cached_types = malloc(strlen(enctypes)+1))
+ if ((cached_types = malloc(strlen(enctypes)+1)))
strcpy(cached_types, enctypes);
return 0;
{
uid_t uid;
char *lbuf = NULL;
- int lbuflen = 0, code;
+ int lbuflen = 0;
char *p;
char *mech = NULL;
char *target = NULL;
}
if (parse_enctypes(enctypes) != 0) {
printerr(0, "WARNING: handle_gssd_upcall: "
- "parsing encryption types failed: errno %d\n", code);
+ "parsing encryption types failed: errno %d\n", errno);
}
}