diff --git a/packet.c b/packet.c index 489bdc3..8a57e10 100644 --- a/packet.c +++ b/packet.c @@ -331,10 +331,6 @@ void decrypt_packet() { ses.payload = ses.readbuf; ses.payload_beginning = ses.payload->pos; buf_setlen(ses.payload, ses.payload->pos + len); - /* copy payload */ - //ses.payload = buf_new(len); - //memcpy(ses.payload->data, buf_getptr(ses.readbuf, len), len); - //buf_incrlen(ses.payload, len); } ses.readbuf = NULL;