X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fdh%2Fdh.h;h=15cf70de0b6badf3bd3669bcbc0409de8de2142b;hb=1619add90c277ec9c0ecfb378c22f7fcb0793e76;hp=1152fbb2d3c6390bef681b628d081c72da2bd10f;hpb=fbfcdc4cef0d9cf7dcda17d8744a03ea6b97857b;p=oweals%2Fopenssl.git diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 1152fbb2d3..15cf70de0b 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -101,7 +101,7 @@ struct dh_st int version; BIGNUM *p; BIGNUM *g; - int length; /* optional */ + long length; /* optional */ BIGNUM *pub_key; /* g^x */ BIGNUM *priv_key; /* x */ @@ -195,7 +195,7 @@ void ERR_load_DH_strings(void); #define DH_F_DH_COMPUTE_KEY 102 #define DH_F_DH_GENERATE_KEY 103 #define DH_F_DH_GENERATE_PARAMETERS 104 -#define DH_F_DH_NEW 105 +#define DH_F_DH_NEW_METHOD 105 /* Reason codes. */ #define DH_R_NO_PRIVATE_VALUE 100