mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- markus@cvs.openbsd.org 2001/06/03 20:06:11
[auth2-chall.c] the challenge response device decides how to handle non-existing users. -> fake challenges for skey and cryptocard
This commit is contained in:
parent
9cc9464613
commit
742e89ec5d
@ -30,6 +30,11 @@
|
|||||||
- markus@cvs.openbsd.org 2001/06/03 19:38:42
|
- markus@cvs.openbsd.org 2001/06/03 19:38:42
|
||||||
[scp.c]
|
[scp.c]
|
||||||
pass -v to ssh; from slade@shore.net
|
pass -v to ssh; from slade@shore.net
|
||||||
|
- markus@cvs.openbsd.org 2001/06/03 20:06:11
|
||||||
|
[auth2-chall.c]
|
||||||
|
the challenge response device decides how to handle non-existing
|
||||||
|
users.
|
||||||
|
-> fake challenges for skey and cryptocard
|
||||||
|
|
||||||
20010606
|
20010606
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
@ -5541,4 +5546,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1256 2001/06/09 01:15:11 mouring Exp $
|
$Id: ChangeLog,v 1.1257 2001/06/09 01:17:23 mouring Exp $
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
#include "includes.h"
|
#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 "ssh2.h"
|
||||||
#include "auth.h"
|
#include "auth.h"
|
||||||
@ -149,7 +149,7 @@ auth2_challenge(Authctxt *authctxt, char *devs)
|
|||||||
authctxt->user ? authctxt->user : "<nouser>",
|
authctxt->user ? authctxt->user : "<nouser>",
|
||||||
devs ? devs : "<no devs>");
|
devs ? devs : "<no devs>");
|
||||||
|
|
||||||
if (!authctxt->valid || authctxt->user == NULL || !devs)
|
if (authctxt->user == NULL || !devs)
|
||||||
return 0;
|
return 0;
|
||||||
if (authctxt->kbdintctxt == NULL)
|
if (authctxt->kbdintctxt == NULL)
|
||||||
authctxt->kbdintctxt = kbdint_alloc(devs);
|
authctxt->kbdintctxt = kbdint_alloc(devs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user