diff options
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
| -rw-r--r-- | src/lib/libcrypto/dh/dh.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h index 0a39742773..10475ac4b3 100644 --- a/src/lib/libcrypto/dh/dh.h +++ b/src/lib/libcrypto/dh/dh.h | |||
| @@ -122,7 +122,7 @@ struct dh_st | |||
| 122 | int version; | 122 | int version; |
| 123 | BIGNUM *p; | 123 | BIGNUM *p; |
| 124 | BIGNUM *g; | 124 | BIGNUM *g; |
| 125 | int length; /* optional */ | 125 | long length; /* optional */ |
| 126 | BIGNUM *pub_key; /* g^x */ | 126 | BIGNUM *pub_key; /* g^x */ |
| 127 | BIGNUM *priv_key; /* x */ | 127 | BIGNUM *priv_key; /* x */ |
| 128 | 128 | ||
| @@ -238,8 +238,6 @@ void ERR_load_DH_strings(void); | |||
| 238 | #define DH_R_KEY_SIZE_TOO_SMALL 104 | 238 | #define DH_R_KEY_SIZE_TOO_SMALL 104 |
| 239 | #define DH_R_MODULUS_TOO_LARGE 103 | 239 | #define DH_R_MODULUS_TOO_LARGE 103 |
| 240 | #define DH_R_NO_PRIVATE_VALUE 100 | 240 | #define DH_R_NO_PRIVATE_VALUE 100 |
| 241 | #define DH_R_INVALID_PUBKEY 102 | ||
| 242 | #define DH_R_MODULUS_TOO_LARGE 103 | ||
| 243 | 241 | ||
| 244 | #ifdef __cplusplus | 242 | #ifdef __cplusplus |
| 245 | } | 243 | } |
