Skip to content

Commit 07301c8

Browse files
committed
kern: fix non-void function 'probe_ssl_master_key' should return a value.
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
1 parent b615364 commit 07301c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kern/openssl_masterkey_3.2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ int probe_ssl_master_key(struct pt_regs *ctx) {
114114
// 重新获取 ssl->tls 的地址作为 SSL_CONNECTION的地址
115115
// Reget the address of the ssl->tls as the address of the SSL_CONNECTION
116116
debug_bpf_printk("unsupported type: SSL_CONNECTION, coming soon.\n");
117-
return;
117+
return 0;
118118
}
119119

120120
// Get SSL->version pointer

0 commit comments

Comments
 (0)