summaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dh/dh_local.h')
-rw-r--r--crypto/dh/dh_local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/dh/dh_local.h b/crypto/dh/dh_local.h
index 7fefcf76f3..3b0181f76a 100644
--- a/crypto/dh/dh_local.h
+++ b/crypto/dh/dh_local.h
@@ -21,7 +21,8 @@ struct dh_st {
int pad;
int version;
FFC_PARAMS params;
- int32_t length; /* optional value of N (if there is no q) */
+ /* max generated private key length (can be less than len(q)) */
+ int32_t length;
BIGNUM *pub_key; /* g^x % p */
BIGNUM *priv_key; /* x */
int flags;