]> andersk Git - openssh.git/blobdiff - auth-bsdauth.c
- (dtucker) [entropy.c entropy.h sshd.c] Pass RNG seed to the reexec'ed
[openssh.git] / auth-bsdauth.c
index 2ac27a7a20e7a0adc097cd5908a8bc0e47d8392e..920c977d85a67a065f6bba1af989e0322b79c3a4 100644 (file)
@@ -22,7 +22,7 @@
  * 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 $");
+RCSID("$OpenBSD: auth-bsdauth.c,v 1.6 2005/01/19 13:11:47 dtucker Exp $");
 
 #ifdef BSD_AUTH
 #include "xmalloc.h"
@@ -83,6 +83,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.033728 seconds and 4 git commands to generate.