Fix CID-1464802
authorShane Lontis <shane.lontis@oracle.com>
Tue, 23 Jun 2020 02:30:40 +0000 (12:30 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Tue, 30 Jun 2020 01:52:15 +0000 (11:52 +1000)
commit9beffaf695b7ed5a7198496036b9aed87d598e51
tree496311ed2444dbaf169d5cb470316b9e5a48310f
parent2c9ba46c90e9d25040260bbdc43e87921f08c788
Fix CID-1464802

Improper use of negative value (It just needs to pass zero instead of -1).

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/12237)
crypto/dsa/dsa_gen.c
crypto/ffc/ffc_params_generate.c