summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-11-15 18:33:54 +0100
committerSeppia <nonso@insicuri.net>2016-11-15 18:33:54 +0100
commit633580adeb5d85286e9390a43a7479e4aa917896 (patch)
tree82604ea6aa3568b9828a581092cf2e421da5f466 /src
parent9039349c63fad07a4366203f16184bc52f63b654 (diff)
downloadonetimebluh-633580adeb5d85286e9390a43a7479e4aa917896.tar.gz
onetimebluh-633580adeb5d85286e9390a43a7479e4aa917896.tar.bz2
onetimebluh-633580adeb5d85286e9390a43a7479e4aa917896.zip
fixed leght detection for pad
Diffstat (limited to 'src')
-rw-r--r--src/onetimebluh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c
index 084a11b..85ad4fa 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -190,7 +190,7 @@ void keyrand(int nb, char* outp) {
if((nb == -1) && (outp == NULL)) {
printf("WARNING no option specified usign default values... \n");
- nb = 256;
+ nb = 1048576;
outp = defoutp;
}
if (nb < -1) { // orribile