apps: properly initialise arguments to EVP_PKEY_get_bn_param()
authorPauli <pauli@openssl.org>
Thu, 24 Jun 2021 23:28:26 +0000 (09:28 +1000)
committerPauli <pauli@openssl.org>
Sat, 26 Jun 2021 01:32:38 +0000 (11:32 +1000)
commitd4af922c583ce152f7d8f35869ab92d5b37cbfd2
tree5651ee2bb7fb7f1c0d213b688ca8bda98bcbfeeb
parenta31350c07caeae4a2537a725bce15ecb1d262c53
apps: properly initialise arguments to EVP_PKEY_get_bn_param()

This avoids use of uninitialised memory.

Follow on to #15900

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15908)
apps/req.c
apps/x509.c