]> andersk Git - openssh.git/blobdiff - auth2-pubkey.c
- djm@cvs.openbsd.org 2003/11/04 08:54:09
[openssh.git] / auth2-pubkey.c
index d51e939f19d42ba087b0b56ff8860d085e6afe90..c28571ab6c774fd50c6d215b8beecb661bb3d2d7 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth2-pubkey.c,v 1.4 2003/06/24 08:23:46 markus Exp $");
+RCSID("$OpenBSD: auth2-pubkey.c,v 1.5 2003/11/04 08:54:09 djm Exp $");
 
 #include "ssh2.h"
 #include "xmalloc.h"
@@ -175,9 +175,6 @@ user_key_allowed2(struct passwd *pw, Key *key, char *file)
        Key *found;
        char *fp;
 
-       if (pw == NULL)
-               return 0;
-
        /* Temporarily use the user's uid. */
        temporarily_use_uid(pw);
 
This page took 0.080534 seconds and 4 git commands to generate.