aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-12-19 15:46:39 -0500
committerRob Austein <sra@hactrn.net>2016-12-19 15:46:39 -0500
commit3bf4f4a1fae7040d743005a75bcbb8b6cd2acc28 (patch)
tree7ec3184574d016096146742d525f4ad9134e387c /ecdsa.c
parent7dce4d6173ff3c2ee23670167ce6dc5d1fdefbb6 (diff)
parent1295f7ebbfaff3ad098fe9d4cafa32a1f3750563 (diff)
Merge branch 'master' into ksng
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecdsa.c b/ecdsa.c
index e46904d..916a2f4 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -71,6 +71,7 @@
#include <assert.h>
#include "hal.h"
+#include "hal_internal.h"
#include <tfm.h>
#include "asn1_internal.h"
@@ -83,7 +84,7 @@
#define HAL_ECDSA_DEBUG_ONLY_STATIC_TEST_VECTOR_RANDOM 0
#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