aboutsummaryrefslogtreecommitdiff
path: root/plugins/signal-protocol/src/context.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/signal-protocol/src/context.vala')
-rw-r--r--plugins/signal-protocol/src/context.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/signal-protocol/src/context.vala b/plugins/signal-protocol/src/context.vala
index c36bf010..87b51756 100644
--- a/plugins/signal-protocol/src/context.vala
+++ b/plugins/signal-protocol/src/context.vala
@@ -30,7 +30,7 @@ public class Context {
}
public void randomize(uint8[] data) throws Error {
- throw_by_code(Signal.native_random(native_context, data));
+ throw_by_code(Signal.native_random(data));
}
public SignedPreKeyRecord generate_signed_pre_key(IdentityKeyPair identity_key_pair, int32 id, uint64 timestamp = 0) throws Error {