Skip to content

Commit

Permalink
Merge pull request #159 from carloslack/fix-bdkey
Browse files Browse the repository at this point in the history
crypt: Fix redeclaration of bdkey
  • Loading branch information
carloslack authored Dec 13, 2024
2 parents 1226300 + 404fa72 commit f0eba8d
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 f0eba8d

Please sign in to comment.