summaryrefslogtreecommitdiff
path: root/libs/libsignal/src/curve.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libsignal/src/curve.c')
-rw-r--r--libs/libsignal/src/curve.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/libsignal/src/curve.c b/libs/libsignal/src/curve.c
index be09369a7e..df9c550b26 100644
--- a/libs/libsignal/src/curve.c
+++ b/libs/libsignal/src/curve.c
@@ -40,6 +40,13 @@ struct ec_public_key_list
UT_array *values;
};
+int curve_internal_fast_tests(int silent)
+{
+ if (all_fast_tests(silent) != 0)
+ return SG_ERR_UNKNOWN;
+ return 0;
+}
+
int curve_decode_point(ec_public_key **public_key, const uint8_t *key_data, size_t key_len, signal_context *global_context)
{
ec_public_key *key = 0;
@@ -264,7 +271,7 @@ ec_private_key *ec_key_pair_get_private(const ec_key_pair *key_pair)
return key_pair->private_key;
}
-void ec_key_pair_destroy(ec_key_pair *type)
+void ec_key_pair_destroy(signal_type_base *type)
{
ec_key_pair *key_pair = (ec_key_pair *)type;
SIGNAL_UNREF(key_pair->public_key);