> /n/sources/contrib/quanstro/root/sys/src/cmd/auth/factotum/chap.c:153,166
> - /sys/src/cmd/auth/factotum/chap.c:154,163
>        c->state = "read challenge";
>        if((nchal = convreadm(c, (char**)(void*)&chal)) < 0)
>                goto out;
> -       if(astype == AuthMSchap && nchal != MSchallen)
> -       c->state = "write user";
>        if((user = strfindattr(k->attr, "user")) == nil){
>                werrstr("key has no user (cannot happen?)");
>                goto out;
>        }
> -       if(convprint(c, "%s", user) < 0)
> -               goto out;

surely you need to use the "user" attribute.  if you don't please send
a copy of chap that doesn't give compiler warnings.

- erik

Reply via email to