aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index f8fb0daa81..8f1217e2bd 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -326,5 +326,9 @@ extern int break_strongest_rng_fallback;
#endif
#endif
+#ifdef TOR_UNIT_TESTS
+void crypto_pk_assign_(crypto_pk_t *dest, const crypto_pk_t *src);
+#endif
+
#endif