]> www.wagner.pp.ru Git - openssl-gost/engine.git/commit
gost_ec_keyx: Fix CID 253282 Dereference null return value
authorVitaly Chikunov <vt@altlinux.org>
Tue, 15 Oct 2019 16:22:45 +0000 (19:22 +0300)
committerVitaly Chikunov <vt@altlinux.org>
Tue, 15 Oct 2019 16:36:15 +0000 (19:36 +0300)
commita57bcd50c280fd2c48fd28de93dd94023ebdc980
tree86167b56f68bac5feda5b9d706380e486dc19855
parent7f55249334f0dd265a3c2579812cbcec6c946944
gost_ec_keyx: Fix CID 253282 Dereference null return value

`param' is used unconditionally in pkey_GOST_ECcp_encrypt() so we can
unconditionally check (vs in any particular `if' branch) for it's being
non-NULL. This is similar to how pkey_GOST_ECcp_decrypt() works with
`param'.

Closes #174.
gost_ec_keyx.c