summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/auth.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-06-29 10:44:37 +0000
committerdes <des@FreeBSD.org>2002-06-29 10:44:37 +0000
commit4d49e874a98f2f5132b00b21cc2e6cd067f67c8f (patch)
tree8a2e55c734b859d50b5ee7776a4b6c24c8a176e5 /crypto/openssh/auth.h
parent3aa72d2c55b928a8d2b106c4f67e6b2d4117a6bb (diff)
downloadFreeBSD-src-4d49e874a98f2f5132b00b21cc2e6cd067f67c8f.zip
FreeBSD-src-4d49e874a98f2f5132b00b21cc2e6cd067f67c8f.tar.gz
Support OPIE as an alternative to S/Key.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'crypto/openssh/auth.h')
-rw-r--r--crypto/openssh/auth.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/openssh/auth.h b/crypto/openssh/auth.h
index d98547d..730b70d 100644
--- a/crypto/openssh/auth.h
+++ b/crypto/openssh/auth.h
@@ -1,4 +1,5 @@
/* $OpenBSD: auth.h,v 1.39 2002/05/31 11:35:15 markus Exp $ */
+/* $FreeBSD$ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -188,5 +189,12 @@ void auth_debug_reset(void);
#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2)
#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"
+#ifdef SKEY
+#ifdef OPIE
+#define SKEY_PROMPT "\nOPIE Password: "
+#else
#define SKEY_PROMPT "\nS/Key Password: "
#endif
+#endif
+
+#endif
OpenPOWER on IntegriCloud