summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcryptoutil
diff options
context:
space:
mode:
authorDina K Nimeh <Dina.Nimeh@Sun.Com>2008-12-18 13:50:59 -0800
committerDina K Nimeh <Dina.Nimeh@Sun.Com>2008-12-18 13:50:59 -0800
commitc545f712400280e1f18c1488fde559c5b9a6b6ff (patch)
tree0143fc7381711fda77de37c9081b2a91a7b846ec /usr/src/lib/libcryptoutil
parentea43803b36103a4d5b8a88054f54e1ee8c4dbc37 (diff)
downloadillumos-gate-c545f712400280e1f18c1488fde559c5b9a6b6ff.tar.gz
6698202 encrypt(1)/mac(1) should prompt twice for the passphrase
Diffstat (limited to 'usr/src/lib/libcryptoutil')
-rw-r--r--usr/src/lib/libcryptoutil/common/passutils.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/lib/libcryptoutil/common/passutils.c b/usr/src/lib/libcryptoutil/common/passutils.c
index a65a908d19..88cb377a45 100644
--- a/usr/src/lib/libcryptoutil/common/passutils.c
+++ b/usr/src/lib/libcryptoutil/common/passutils.c
@@ -19,12 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
@@ -37,9 +35,10 @@
#define DEFAULT_TOKEN_REPROMPT gettext("Re-enter PIN for %s: ")
#define DEFAULT_TOKEN_MINSIZE gettext("PIN must be at least %d characters.\n")
-#define DEFAULT_USER_PROMPT gettext("Enter key: ")
-#define DEFAULT_USER_REPROMPT gettext("Re-enter key: ")
-#define DEFAULT_USER_MINSIZE gettext("Key must be at least %d characters.\n")
+#define DEFAULT_USER_PROMPT gettext("Enter passphrase: ")
+#define DEFAULT_USER_REPROMPT gettext("Re-enter passphrase: ")
+#define DEFAULT_USER_MINSIZE \
+ gettext("Passphrase must be at least %d characters.\n")
#define DEFAULT_PK11TOKEN SOFT_TOKEN_LABEL