summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/onetimebluh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c
index 8c46524..9f356d5 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -143,14 +143,14 @@ void xor(int ed, char* mess, char* keyf, char* outp) {
long mess_size;
long pad_size;
- if (ed == 'f' || ed == 'v') {
+
fseek(mex, 0L, SEEK_END);
mess_size = ftell(mex);
rewind(mex);
fseek(keyx, 0L, SEEK_END);
pad_size = ftell(keyx);
fseek(keyx, (pad_size - mess_size), SEEK_SET);
- }
+
int i = 1;
char a, b;