RT3959: Fix misleading comment
authorNicholas Cooper <qza22c5l@gmail.com>
Fri, 31 Jul 2015 15:08:18 +0000 (11:08 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 31 Jul 2015 15:08:41 +0000 (11:08 -0400)
Manual cherry-pick from main branch, since the header file
moved in master.
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/dh/dh.h

index 0502f1a9cc14dc9681830fc0233b6e35fd6f5150..b17767328183e011c36d15738d4f9e737aca53d7 100644 (file)
@@ -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;