summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-06-03 20:06:11 +0000
committermarkus <markus@openbsd.org>2001-06-03 20:06:11 +0000
commitbc29cc18d463ac9e40dd5d5edaf6915f86c598df (patch)
tree7ab38405507b75ec0714ff70a9add3041141297f
parentDon't bail out early for users w/o passwd file entries since we may (diff)
downloadwireguard-openbsd-bc29cc18d463ac9e40dd5d5edaf6915f86c598df.tar.xz
wireguard-openbsd-bc29cc18d463ac9e40dd5d5edaf6915f86c598df.zip
the challenge response device decides how to handle non-existing users.
-> fake challenges for skey and cryptocard
-rw-r--r--usr.bin/ssh/auth2-chall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth2-chall.c b/usr.bin/ssh/auth2-chall.c
index ad4f7ac42e5..be741010e6e 100644
--- a/usr.bin/ssh/auth2-chall.c
+++ b/usr.bin/ssh/auth2-chall.c
@@ -23,7 +23,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2-chall.c,v 1.5 2001/05/18 14:13:28 markus Exp $");
+RCSID("$OpenBSD: auth2-chall.c,v 1.6 2001/06/03 20:06:11 markus Exp $");
#include "ssh2.h"
#include "auth.h"
@@ -149,7 +149,7 @@ auth2_challenge(Authctxt *authctxt, char *devs)
authctxt->user ? authctxt->user : "<nouser>",
devs ? devs : "<no devs>");
- if (!authctxt->valid || authctxt->user == NULL || !devs)
+ if (authctxt->user == NULL || !devs)
return 0;
if (authctxt->kbdintctxt == NULL)
authctxt->kbdintctxt = kbdint_alloc(devs);