aboutsummaryrefslogtreecommitdiff
path: root/xdr.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-10-30 16:07:06 -0400
committerRob Austein <sra@hactrn.net>2016-10-30 16:07:06 -0400
commit65e3711c86b6e94a1ced8128f7dfbd1e85638c06 (patch)
treea0316a17e21831bdaa1dddcd8e174cd93d4a0978 /xdr.c
parent131083158a08fbd30e6929221715496296ae0944 (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 'xdr.c')
0 files changed, 0 insertions, 0 deletions