diff options
Diffstat (limited to 'testing/hstox/methods.c')
-rw-r--r-- | testing/hstox/methods.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/hstox/methods.c b/testing/hstox/methods.c index a025acc4..8e57b292 100644 --- a/testing/hstox/methods.c +++ b/testing/hstox/methods.c | |||
@@ -67,7 +67,7 @@ METHOD(array, KeyPair, fromSecretKey) | |||
67 | METHOD(array, Nonce, newNonce) | 67 | METHOD(array, Nonce, newNonce) |
68 | { | 68 | { |
69 | uint8_t nonce[24] = {0}; | 69 | uint8_t nonce[24] = {0}; |
70 | new_nonce(nonce); | 70 | random_nonce(nonce); |
71 | 71 | ||
72 | SUCCESS { | 72 | SUCCESS { |
73 | msgpack_pack_bin(res, sizeof nonce); | 73 | msgpack_pack_bin(res, sizeof nonce); |