--- a/plugins/qca-ossl/qca-ossl.cpp.orig 2021-02-05 10:04:54.073661759 +0100 +++ b/plugins/qca-ossl/qca-ossl.cpp 2021-02-05 10:05:57.141861984 +0100 @@ -1617,16 +1617,12 @@ static bool make_dlgroup(const QByteArray &seed, int bits, int counter, DLParams *params) { - int ret_counter; std::unique_ptr dsa(DSA_new(), DsaDeleter); if (!dsa) return false; if (DSA_generate_parameters_ex( - dsa.get(), bits, (const unsigned char *)seed.data(), seed.size(), &ret_counter, nullptr, nullptr) != 1) - return false; - - if (ret_counter != counter) + dsa.get(), bits, (const unsigned char *)seed.data(), seed.size(), nullptr, nullptr, nullptr) != 1) return false; const BIGNUM *bnp, *bnq, *bng;