From 23f92020d09f1697475ccc8ea5374ae00f6280ba Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sat, 13 Jun 2020 17:37:55 +0200 Subject: [PATCH] =?UTF-8?q?Dechiffre=20=C3=A0=20la=20place=20de=20chiffre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pass.c b/src/pass.c index c0c634c..1635782 100644 --- a/src/pass.c +++ b/src/pass.c @@ -138,7 +138,7 @@ void *fct_th(void *p) chiffre_xor_fichier(buf, n); #endif #ifdef PLAYFAIR - chiffre_playfair(buf, n); + dechiffre_playfair(buf, n); #endif lb = htons((uint16_t) n); write(SidDist, &lb, sizeof(lb)); // On envoie le nombre d'octets du paquet @@ -207,7 +207,7 @@ int liaison(int fd) chiffre_xor_fichier(buf, n); #endif #ifdef PLAYFAIR - chiffre_playfair(buf, n); + dechiffre_playfair(buf, n); #endif } } else n = read(sid, buf, LBUF);