summaryrefslogtreecommitdiffstats
path: root/src/onetimebluh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/onetimebluh.c')
-rw-r--r--src/onetimebluh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c
index 2cca42e..084a11b 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -199,8 +199,8 @@ void keyrand(int nb, char* outp) {
exit(EXIT_FAILURE);
} else if (nb != 0) {
if(nb == -1) {
- printf("No byte number specified... using default value: 256 \n");
- nb = 256;
+ printf("No byte number specified... using default value: 1MB \n");
+ nb = 1048576;
}
unsigned char* key = malloc(nb);