summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-12-05 17:48:19 +0100
committerSeppia <nonso@insicuri.net>2016-12-05 17:48:19 +0100
commitee958505b2d45fd2e558baa256a2de2d396296b4 (patch)
tree4d0b5883cd58e2a9c508aa3f100fa362f580ef45 /src
parentee43c2ecf27514330ef13bb37fff95b3f76afbe6 (diff)
downloadonetimebluh-ee958505b2d45fd2e558baa256a2de2d396296b4.tar.gz
onetimebluh-ee958505b2d45fd2e558baa256a2de2d396296b4.tar.bz2
onetimebluh-ee958505b2d45fd2e558baa256a2de2d396296b4.zip
fixed stdout message after decyption
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 3e44a2a..3726489 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -201,7 +201,7 @@ void xor(int ed, char* mess, char* keyf, char* outp) {
if (ed == 'e' || ed == 'f') {
printf("Message successfully encrypted \n");
- } else if (ed == 'u' || ed == 'v') {
+ } else if (ed == 'r' || ed == 's') {
printf("Message successfully decrypted \n");
}