summaryrefslogtreecommitdiffstats
path: root/crypto/des/read2pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/read2pwd.c')
-rw-r--r--crypto/des/read2pwd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/des/read2pwd.c b/crypto/des/read2pwd.c
index 01e275f331..7633139604 100644
--- a/crypto/des/read2pwd.c
+++ b/crypto/des/read2pwd.c
@@ -114,6 +114,10 @@
#include <openssl/ui.h>
#include <openssl/crypto.h>
+#ifndef BUFSIZ
+#define BUFSIZ 256
+#endif
+
int DES_read_password(DES_cblock *key, const char *prompt, int verify)
{
int ok;