aboutsummaryrefslogtreecommitdiff
path: root/rsa.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-09-20 09:00:32 -0400
committerPaul Selkirk <paul@psgd.org>2016-09-20 09:00:32 -0400
commitfebe3ed7b2e7b2342c77d4a35db93e6247ea4326 (patch)
tree85da5cbfc8248684594975b42ab4a38943265726 /rsa.c
parentccdb3ab006dd46c125fc0277fa0ce2d3d7660147 (diff)
Clean up the defines around rpc client, software hash cores, etc.
Diffstat (limited to 'rsa.c')
-rw-r--r--rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa.c b/rsa.c
index 82b7597..e24b5eb 100644
--- a/rsa.c
+++ b/rsa.c
@@ -86,7 +86,7 @@
#define HAL_RSA_USE_MODEXP 1
#endif
-#ifdef RPC_CLIENT
+#if defined(RPC_CLIENT) && RPC_CLIENT != RPC_CLIENT_LOCAL
#define hal_get_random(core, buffer, length) hal_rpc_get_random(buffer, length)
#endif