From 404fa7228913692ce4ab2b568045096a0532f1d4 Mon Sep 17 00:00:00 2001 From: JNE Date: Thu, 12 Dec 2024 23:21:55 +0000 Subject: [PATCH] crypt: Fix redeclaration of bdkey Was referencing iself from the global --- src/sock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sock.c b/src/sock.c index 9351440..61609c1 100644 --- a/src/sock.c +++ b/src/sock.c @@ -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;