Don't work too much
This commit is contained in:
1 parent
4a5d07ec45
commit
33356d5d35
1 file changed
+7
-7
+7
-7
@@ -1433,14 +1433,14 @@ int main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
buffer_shift(&tun.write);
|
||||
|
||||
if _0_(gt_decrypt(&ctx, &tun.write, &sock.read)) {
|
||||
gt_log("%s: message could not be verified!\n", sockname);
|
||||
goto restart;
|
||||
}
|
||||
|
||||
while (1) {
|
||||
buffer_shift(&tun.write);
|
||||
|
||||
if _0_(gt_decrypt(&ctx, &tun.write, &sock.read)) {
|
||||
gt_log("%s: message could not be verified!\n", sockname);
|
||||
goto restart;
|
||||
}
|
||||
|
||||
size_t size = buffer_read_size(&tun.write);
|
||||
|
||||
if (!size)
|
||||
|
||||
Reference in new issue
Block a user