]> andersk Git - openssh.git/blobdiff - auth-bsdauth.c
- deraadt@cvs.openbsd.org 2006/03/19 18:53:12
[openssh.git] / auth-bsdauth.c
index 2ac27a7a20e7a0adc097cd5908a8bc0e47d8392e..f48b43174de5235c93189b9d61279618d1e19f89 100644 (file)
@@ -22,7 +22,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "includes.h"
-RCSID("$OpenBSD: auth-bsdauth.c,v 1.5 2002/06/30 21:59:45 deraadt Exp $");
 
 #ifdef BSD_AUTH
 #include "xmalloc.h"
@@ -83,6 +82,9 @@ bsdauth_respond(void *ctx, u_int numresponses, char **responses)
        Authctxt *authctxt = ctx;
        int authok;
 
+       if (!authctxt->valid)
+               return -1;
+
        if (authctxt->as == 0)
                error("bsdauth_respond: no bsd auth session");
 
This page took 0.033616 seconds and 4 git commands to generate.