summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-12-07 15:52:43 +0100
committerSeppia <nonso@insicuri.net>2016-12-07 15:52:43 +0100
commit85373bb30f2eb2bf0e1148578ae728df0f90a317 (patch)
treea85b203ed563f892a871727e8ce1725490813ea5
parenta9de6782edc9f75f7f9995641b8f688a4cb25feb (diff)
downloadonetimebluh-85373bb30f2eb2bf0e1148578ae728df0f90a317.tar.gz
onetimebluh-85373bb30f2eb2bf0e1148578ae728df0f90a317.tar.bz2
onetimebluh-85373bb30f2eb2bf0e1148578ae728df0f90a317.zip
removed printf() outputs used for testing
-rw-r--r--src/onetimebluh.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c
index 905e8bb..f8fe2d6 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -298,13 +298,7 @@ void bluh(int c, char* mess, char* outp, char* ch) {
for (i = 0; i < len; i ++) {
for (j = 0; j < 8; j ++) {
bits[8 * i + j] = (bytes[i] & (1 << (7 -j))) ? b : a;
- printf("%c", bits[8 * i + j]);
}
-
- /* printf(" ");
- if ((i + 1) % 8 == 0) {
- printf("\n");
- }*/
}
fwrite(bits, sizeof(char), (8 * len), bluh);
@@ -330,8 +324,6 @@ void bluh(int c, char* mess, char* outp, char* ch) {
}
}
- printf("\nOriginal text:\n'%s'\n", comp);
-
fwrite(comp, sizeof(char), (len / 8), bluh);
free(comp);
free(bits);