|
OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
|
The Plus ID handshake (OpenCoD2-Plus Server's plus-id.md) needs the client to sign exactly what the server verifies: the signed text, the hex forms and the derivation of the ID. A second copy of that code in the engine could drift from the server's, and the only ECDSA P-256 code in the tree is the server's vendored Mbed TLS. The dependency matrix in boundaries.md says the engine does not use OpenCoD2-Plus Server, and every crossing goes through the bridge (B2).
src/PC/client_mp/cl_plusid_mp.c includes the vendored src/libcod/plusid.hpp and links cod2_plus_mbedtls. The header is inline only, includes no engine or server header and has no state, so the client calls no OpenCoD2-Plus Server symbol and needs no bridge entry. It stays a vendored file (B1): changes go to the server first.