=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/encrypt/encrypt.c,v retrieving revision 1.43 retrieving revision 1.44 diff -c -r1.43 -r1.44 *** src/usr.bin/encrypt/encrypt.c 2016/09/02 17:06:59 1.43 --- src/usr.bin/encrypt/encrypt.c 2016/09/02 18:06:43 1.44 *************** *** 1,4 **** ! /* $OpenBSD: encrypt.c,v 1.43 2016/09/02 17:06:59 tedu Exp $ */ /* * Copyright (c) 1996, Jason Downs. All rights reserved. --- 1,4 ---- ! /* $OpenBSD: encrypt.c,v 1.44 2016/09/02 18:06:43 tedu Exp $ */ /* * Copyright (c) 1996, Jason Downs. All rights reserved. *************** *** 125,131 **** if (((argc - optind) < 1)) { char line[BUFSIZ]; ! char string[_PASSWORD_LEN + 1]; if (prompt) { if (readpassphrase("Enter string: ", string, --- 125,131 ---- if (((argc - optind) < 1)) { char line[BUFSIZ]; ! char string[1024]; if (prompt) { if (readpassphrase("Enter string: ", string,