summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-11-12 20:43:26 +0100
committerSeppia <nonso@insicuri.net>2016-11-12 20:43:26 +0100
commit827294d97af5aef30af4e7440786ede5f520ed9b (patch)
tree1f8c571a52e3a929630fc5ba48d2d4f61279ac32
parent9fb9660f11053ef275cebb23d1fbac2d830aded2 (diff)
downloadonetimebluh-827294d97af5aef30af4e7440786ede5f520ed9b.tar.gz
onetimebluh-827294d97af5aef30af4e7440786ede5f520ed9b.tar.bz2
onetimebluh-827294d97af5aef30af4e7440786ede5f520ed9b.zip
style fix in xor() function
-rw-r--r--src/onetimebluh.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c
index 9f356d5..bdac2ff 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -143,14 +143,12 @@ void xor(int ed, char* mess, char* keyf, char* outp) {
long mess_size;
long pad_size;
-
- 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);
-
+ 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;