aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-24 17:51:52 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-24 17:51:52 -0500
commitaaa5737a2e6141bdff13f03051500d2f0ce84861 (patch)
tree48092b2a74632078dc0163f90969d52952b3758b /src/test
parentc496229b0a8d90a327674a03aa5be455014b4d5c (diff)
parent5ed73e3807d90dd0a3a2e5542f98a0a58374a066 (diff)
downloadtor-aaa5737a2e6141bdff13f03051500d2f0ce84861.tar.gz
tor-aaa5737a2e6141bdff13f03051500d2f0ce84861.zip
Merge remote branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c
index 8093c9c898..6ea7f295ed 100644
--- a/src/test/test_crypto.c
+++ b/src/test/test_crypto.c
@@ -12,8 +12,8 @@
static void
test_crypto_dh(void)
{
- crypto_dh_env_t *dh1 = crypto_dh_new();
- crypto_dh_env_t *dh2 = crypto_dh_new();
+ crypto_dh_env_t *dh1 = crypto_dh_new(DH_TYPE_CIRCUIT);
+ crypto_dh_env_t *dh2 = crypto_dh_new(DH_TYPE_CIRCUIT);
char p1[DH_BYTES];
char p2[DH_BYTES];
char s1[DH_BYTES];