summaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-02-06 14:34:45 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-02-06 14:49:49 +0100
commit0d6dc8266947bdc88a74edefa4fc773b1ba84326 (patch)
treeb3e5ee49dc63b9375e6f1ec7f32d57891d2fba01 /sources
parentb38ed0dfb887a30a72acffa3c4543898efbcb29d (diff)
#898 Remove unused encryption and decryption routines
Remove dead code to encrypt and decrypt the message.
Diffstat (limited to 'sources')
-rw-r--r--sources/ogAdmServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp
index b14e915..cf78079 100644
--- a/sources/ogAdmServer.cpp
+++ b/sources/ogAdmServer.cpp
@@ -3608,7 +3608,7 @@ static void og_client_read_cb(struct ev_loop *loop, struct ev_io *io, int events
ntohs(cli->addr.sin_port));
len = cli->msg_len - (LONGITUD_CABECERATRAMA + LONHEXPRM);
- data = desencriptar(&cli->buf[LONGITUD_CABECERATRAMA + LONHEXPRM], &len);
+ data = &cli->buf[LONGITUD_CABECERATRAMA + LONHEXPRM];
ptrTrama = (TRAMA *)reservaMemoria(sizeof(TRAMA));
if (!ptrTrama) {