comparison svr-authpubkey.c @ 241:c5d3ef11155f

* use own assertions which should get logged properly
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Sep 2005 15:16:10 +0000
parents 161557a9dde8
children bf64e666f99b
comparison
equal deleted inserted replaced
238:e923801a7678 241:c5d3ef11155f
264 int ret = DROPBEAR_FAILURE; 264 int ret = DROPBEAR_FAILURE;
265 unsigned int len; 265 unsigned int len;
266 266
267 TRACE(("enter checkpubkeyperms")) 267 TRACE(("enter checkpubkeyperms"))
268 268
269 assert(ses.authstate.pw);
270 if (ses.authstate.pw->pw_dir == NULL) { 269 if (ses.authstate.pw->pw_dir == NULL) {
271 goto out; 270 goto out;
272 } 271 }
273 272
274 if ((len = strlen(ses.authstate.pw->pw_dir)) == 0) { 273 if ((len = strlen(ses.authstate.pw->pw_dir)) == 0) {