Fix DH_get_nid() so that it does not cache values.
[openssl.git] / crypto / dh / dh_local.h
index 7fefcf76f33fb3b74f48fcbd6dc111819460aed9..3b0181f76ac5dfa355d1e583b0478cc4c8059810 100644 (file)
@@ -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;