Skip to content

Commit

Permalink
openssl: use the value of wbio->fd to gen uuid
Browse files Browse the repository at this point in the history
make the format of uuid consistent with others

Signed-off-by: wuyexkx <[email protected]>
  • Loading branch information
wuyexkx committed Feb 28, 2024
1 parent 286bdcf commit ebff0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kern/openssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ int probe_entry_SSL_write(struct pt_regs* ctx) {
}

// get fd ssl->wbio->num
ssl_wbio_num_ptr = (u64 *)(ssl_wbio_ptr + BIO_ST_NUM);
ssl_wbio_num_ptr = (u64 *)(ssl_wbio_addr + BIO_ST_NUM);
ret = bpf_probe_read_user(&ssl_wbio_num_addr, sizeof(ssl_wbio_num_addr),
ssl_wbio_num_ptr);
if (ret) {
Expand Down

0 comments on commit ebff0b9

Please sign in to comment.