diff --git a/CHANGES b/CHANGES index 30c71a9..e7a85e0 100644 --- a/CHANGES +++ b/CHANGES @@ -3,7 +3,8 @@ Changelog for hydra Release 8.9-dev * your patch? :) -* Revamped rdp module to use FreeRDP library (thanks to loianhtuan@github for the patch) +* Revamped rdp module to use FreeRDP library (thanks to loianhtuan@github for the patch!) +* JSON output does now truncate the file if exists. Beware when using -R * Fixed svn module memory leaks * Fixed rtsp module potential buffer overflow * Fixed http module DIGEST-MD5 mode diff --git a/hydra-mod.c b/hydra-mod.c index 251ef27..f3d0015 100644 --- a/hydra-mod.c +++ b/hydra-mod.c @@ -468,7 +468,7 @@ RSA *ssl_temp_rsa_cb(SSL * ssl, int32_t export, int32_t keylength) { #if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L BIGNUM *n; n = BN_new(); - RSA_get0_key(rsa, &n, NULL, NULL); + RSA_get0_key(rsa, (const struct bignum_st **)&n, NULL, NULL); ok = BN_zero(n); #else if (rsa->n == 0)