summaryrefslogtreecommitdiff
path: root/src/or/onion_tap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/onion_tap.h')
-rw-r--r--src/or/onion_tap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/onion_tap.h b/src/or/onion_tap.h
index fdc2ce9123..5b1eacce70 100644
--- a/src/or/onion_tap.h
+++ b/src/or/onion_tap.h
@@ -14,8 +14,8 @@
#define TAP_ONIONSKIN_CHALLENGE_LEN (PKCS1_OAEP_PADDING_OVERHEAD+\
CIPHER_KEY_LEN+\
- DH_KEY_LEN)
-#define TAP_ONIONSKIN_REPLY_LEN (DH_KEY_LEN+DIGEST_LEN)
+ DH1024_KEY_LEN)
+#define TAP_ONIONSKIN_REPLY_LEN (DH1024_KEY_LEN+DIGEST_LEN)
int onion_skin_TAP_create(crypto_pk_t *router_key,
crypto_dh_t **handshake_state_out,