diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-02-06 14:34:45 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-02-06 14:49:49 +0100 |
commit | 0d6dc8266947bdc88a74edefa4fc773b1ba84326 (patch) | |
tree | b3e5ee49dc63b9375e6f1ec7f32d57891d2fba01 | |
parent | b38ed0dfb887a30a72acffa3c4543898efbcb29d (diff) |
#898 Remove unused encryption and decryption routines
Remove dead code to encrypt and decrypt the message.
-rw-r--r-- | sources/ogAdmServer.cpp | 2 |
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) { |