fix remaining pointer-sign warnings in sc_set_peer_public_key callers
This commit is contained in:
1 parent
68f4ae12c8
commit
17e95cc2a3
3 files changed
+4
-4
No files matched your search
@@ -37,8 +37,8 @@ int main() {
|
||||
}
|
||||
|
||||
// Initialize ECC system (may fail with test keys, but needed for RNG)
|
||||
sc_set_peer_public_key(&client_ctx, (const char*)server_keys.public_key, 0);
|
||||
sc_set_peer_public_key(&server_ctx, (const char*)client_keys.public_key, 0);
|
||||
sc_set_peer_public_key(&client_ctx, server_keys.public_key, 0);
|
||||
sc_set_peer_public_key(&server_ctx, client_keys.public_key, 0);
|
||||
|
||||
// Manual setup for test keys
|
||||
memcpy(client_ctx.peer_public_key, server_keys.public_key, SC_PUBKEY_SIZE);
|
||||
|
||||
Reference in new issue
Block a user