diff options
author | Rob Austein <sra@hactrn.net> | 2016-10-30 16:07:06 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-10-30 16:07:06 -0400 |
commit | 65e3711c86b6e94a1ced8128f7dfbd1e85638c06 (patch) | |
tree | a0316a17e21831bdaa1dddcd8e174cd93d4a0978 /cryptech_rpcmuxd | |
parent | 131083158a08fbd30e6929221715496296ae0944 (diff) |
Use public RPC API when dispatching from RPC server.
The rpc_server code used to bypass the public API calls by using the
RPC dispatch vectors directly, but doing so bypasses various checks
for trivial argument errors. It's not safe for the HSM to trust the
client to check these, and duplicating the checks in the client and
server code is error prone, so the best solution is for the server
code to dispatch via the public API, as it was originally designed to
do, and not try to micro-optimize the dispatch calls.
Diffstat (limited to 'cryptech_rpcmuxd')
0 files changed, 0 insertions, 0 deletions