Skip to content
Open

Dev #638

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change buf
  • Loading branch information
nmai32266 committed May 31, 2025
commit 8669b8b36a7bfa5aeebb1a916b62c6542177c725
2 changes: 1 addition & 1 deletion net/net-tcp-rpc-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ int tcp_rpcc_init_crypto (connection_job_t C) {
struct tcp_rpc_nonce_packet s;
struct tcp_rpc_nonce_ext_packet x;
struct tcp_rpc_nonce_dh_packet dh;
} buf[32];
} buf;

int len = sizeof (struct tcp_rpc_nonce_packet);

Expand Down
2 changes: 1 addition & 1 deletion net/net-tcp-rpc-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ int tcp_rpcs_init_crypto (connection_job_t C, struct tcp_rpc_nonce_packet *P) {
struct tcp_rpc_nonce_packet s;
struct tcp_rpc_nonce_ext_packet x;
struct tcp_rpc_nonce_dh_packet dh;
} buf[32];
} buf;

struct tcp_rpc_nonce_dh_packet *old_dh = 0, *new_dh = 0;
unsigned char temp_dh[256];
Expand Down