Skip to content

Commit

Permalink
fix: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewang committed Sep 14, 2022
1 parent 0032312 commit 754375a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kern/masterkey_kern.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,6 @@ int probe_ssl_master_key(struct pt_regs *ctx) {
mastersecret->version = version; // int version;
#endif
debug_bpf_printk("TLS version :%d\n", mastersecret->version);
if (mastersecret->version == TLS1_3_VERSION) {
// for debug TODO
// TLS 1.3 return 0
return 0;
}

// Get ssl3_state_st pointer
ret = bpf_probe_read_user(&address, sizeof(address), ssl_s3_st_ptr);
Expand Down

0 comments on commit 754375a

Please sign in to comment.