diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2019-12-14 15:22:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2019-12-14 15:22:49 +0000 |
commit | 5052807a5cfa503764573590f4a8a404d384d26f (patch) | |
tree | 6d65b312d34aca1d977f2f7ed1c768a96b7e4daa /libexec/login_passwd | |
parent | 0f8cce77320fed4607f8860ace8b84222e2c9f07 (diff) |
Return BI_SILENT not BI_AUTH if the challenge service is requested.
This bug was introduced in the login_passwd rewrite back in 2001.
From Tom Longshine.
Diffstat (limited to 'libexec/login_passwd')
-rw-r--r-- | libexec/login_passwd/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/login_passwd/login.c b/libexec/login_passwd/login.c index 09e683a7366..884be32a3cd 100644 --- a/libexec/login_passwd/login.c +++ b/libexec/login_passwd/login.c @@ -1,4 +1,4 @@ -/* $OpenBSD: login.c,v 1.19 2018/09/30 13:29:24 ajacoutot Exp $ */ +/* $OpenBSD: login.c,v 1.20 2019/12/14 15:22:48 millert Exp $ */ /*- * Copyright (c) 1995 Berkeley Software Design, Inc. All rights reserved. @@ -137,7 +137,7 @@ main(int argc, char **argv) password = readpassphrase("Password:", pbuf, sizeof(pbuf), RPP_ECHO_OFF); break; case MODE_CHALLENGE: - fprintf(back, BI_AUTH "\n"); + fprintf(back, BI_SILENT "\n"); exit(0); break; default: |