summaryrefslogtreecommitdiff
path: root/usr.bin/encrypt/encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/encrypt/encrypt.c')
-rw-r--r--usr.bin/encrypt/encrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/encrypt/encrypt.c b/usr.bin/encrypt/encrypt.c
index 4ded29d4c1a..e9c549dcf92 100644
--- a/usr.bin/encrypt/encrypt.c
+++ b/usr.bin/encrypt/encrypt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: encrypt.c,v 1.43 2016/09/02 17:06:59 tedu Exp $ */
+/* $OpenBSD: encrypt.c,v 1.44 2016/09/02 18:06:43 tedu Exp $ */
/*
* Copyright (c) 1996, Jason Downs. All rights reserved.
@@ -125,7 +125,7 @@ main(int argc, char **argv)
if (((argc - optind) < 1)) {
char line[BUFSIZ];
- char string[_PASSWORD_LEN + 1];
+ char string[1024];
if (prompt) {
if (readpassphrase("Enter string: ", string,