summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--curve.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/curve.h b/curve.h
index 8e43f7e..1fccd27 100644
--- a/curve.h
+++ b/curve.h
@@ -11,7 +11,7 @@
struct curve25519_proto {
unsigned char enonce[crypto_box_noncebytes] __aligned_16;
unsigned char dnonce[crypto_box_noncebytes] __aligned_16;
- unsigned char key[crypto_box_noncebytes] __aligned_16;
+ unsigned char key[crypto_box_beforenmbytes] __aligned_16;
};
struct curve25519_struct {