cvs commit: src/crypto/openssh auth-chall.c auth.h auth1.c

From: Dag-Erling Smorgrav <des_at_FreeBSD.org>
Date: Mon, 31 Mar 2003 05:45:36 -0800 (PST)
des         2003/03/31 05:45:36 PST

  FreeBSD src repository

  Modified files:
    crypto/openssh       auth-chall.c auth.h auth1.c 
  Log:
  If an ssh1 client initiated challenge-response authentication but did
  not respond to challenge, and later successfully authenticated itself
  using another method, the kbdint context would never be released,
  leaving the PAM child process behind even after the connection ended.
  
  Fix this by automatically releasing the kbdint context if a packet of
  type SSH_CMSG_AUTH_TIS is follwed by anything but a packet of type
  SSH_CMSG_AUTH_TIS_RESPONSE.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.6       +8 -0      src/crypto/openssh/auth-chall.c
  1.10      +1 -0      src/crypto/openssh/auth.h
  1.26      +13 -1     src/crypto/openssh/auth1.c
Received on Mon Mar 31 2003 - 05:45:41 UTC