Skip to content

Commit d0d9eb2

Browse files
fix: remove redundant code
1 parent ac24460 commit d0d9eb2

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

main.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,6 @@ void refresh_decrypt_ctx() {
449449

450450
void handle(const int connfd) {
451451
while (1) {
452-
if (decryptCount == 0) {
453-
refresh_decrypt_ctx();
454-
decryptCount = 1000;
455-
}
456452
uint8_t adamSize;
457453
if (!readfull(connfd, &adamSize, sizeof(uint8_t)))
458454
return;

0 commit comments

Comments
 (0)