From: Nicholas Cooper Date: Fri, 31 Jul 2015 15:08:18 +0000 (-0400) Subject: RT3959: Fix misleading comment X-Git-Tag: OpenSSL_1_0_2e~150 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=602af7d01da82dc6c45946572f531bcbe9ebbf47;p=oweals%2Fopenssl.git RT3959: Fix misleading comment Manual cherry-pick from main branch, since the header file moved in master. Reviewed-by: Matt Caswell --- 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;