EVP p_lib: Add NULL check to EVP_PKEY_missing_parameters.
authorPauli <paul.dale@oracle.com>
Wed, 20 Nov 2019 03:14:39 +0000 (13:14 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 21 Nov 2019 04:34:55 +0000 (14:34 +1000)
commitab5c77b4766e0992751d86560193ca42b49cf316
treee3a4181198034b5a1e0c1b7874b742677d1e38f0
parent9bada854de16bcc1a9dc199b4b352b19ab6897fc
EVP p_lib: Add NULL check to EVP_PKEY_missing_parameters.

Check for NULL and return error if so.
This can possibly be called from apps/ca.c with a NULL argument.

Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/10474)
crypto/evp/p_lib.c