We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b713ab0 commit 4f9c782Copy full SHA for 4f9c782
1 file changed
src/send.c
@@ -303,7 +303,7 @@ void packet_send_staged_packets(struct wireguard_peer *peer)
303
if (unlikely(!keypair))
304
goto out_nokey;
305
key = &keypair->sending;
306
- if (unlikely(!key || !key->is_valid))
+ if (unlikely(!key->is_valid))
307
308
if (unlikely(has_expired(key->birthdate, REJECT_AFTER_TIME)))
309
goto out_invalid;
0 commit comments