summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicholas Cooper <qza22c5l@gmail.com>2015-07-29 21:44:59 -0400
committerRich Salz <rsalz@openssl.org>2015-07-31 11:07:11 -0400
commit119ab03aea4850297b2a886f067ae74ab3fba86e (patch)
treefefae81914da024a571796b327f1a2e6976aa7e1 /include
parent3df16cc2e27f75eac2c0991248b0c294e2c847b5 (diff)
RT3959: Fix misleading comment
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/dh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/dh.h b/include/openssl/dh.h
index e0f4b57349..f1de53dffe 100644
--- a/include/openssl/dh.h
+++ b/include/openssl/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;