1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

include: Fix integer type of dh_pn and dh_pmax

Fixes T188

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Andreas Schneider
2019-10-31 13:48:08 +01:00
parent 500481e101
commit 922a2aee99

View File

@@ -105,7 +105,7 @@ struct ssh_crypto_struct {
bignum shared_secret; bignum shared_secret;
struct dh_ctx *dh_ctx; struct dh_ctx *dh_ctx;
#ifdef WITH_GEX #ifdef WITH_GEX
size_t dh_pmin; int dh_pn; int dh_pmax; /* preferred group parameters */ size_t dh_pmin; size_t dh_pn; size_t dh_pmax; /* preferred group parameters */
#endif /* WITH_GEX */ #endif /* WITH_GEX */
#ifdef HAVE_ECDH #ifdef HAVE_ECDH
#ifdef HAVE_OPENSSL_ECC #ifdef HAVE_OPENSSL_ECC