summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorNicholas Cooper <qza22c5l@gmail.com>2015-07-31 11:08:18 -0400
committerRich Salz <rsalz@openssl.org>2015-07-31 11:08:41 -0400
commit602af7d01da82dc6c45946572f531bcbe9ebbf47 (patch)
treee2a5e4bdcebcfbd0a99dd6d1542f71647701c78f /crypto/dh
parentd0c9a90640c8902fef3eb74e8ef05227f8e7dcb7 (diff)
RT3959: Fix misleading comment
Manual cherry-pick from main branch, since the header file moved in master. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h
index 0502f1a9cc..b177673281 100644
--- a/crypto/dh/dh.h
+++ b/crypto/dh/dh.h
@@ -142,7 +142,7 @@ struct dh_st {
BIGNUM *p;
BIGNUM *g;
long length; /* optional */
- BIGNUM *pub_key; /* g^x */
+ BIGNUM *pub_key; /* g^x % p */
BIGNUM *priv_key; /* x */
int flags;
BN_MONT_CTX *method_mont_p;