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:35:37 +0000 (14:35 +1000)
commitf6f371d472262e9525107074d93828b68acdbbdf
tree051b93fe1bc154abe627a234a0ecb9efd0f349a8
parent333853fae6512ff71bf1b6da951ca0069c878c92
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)

(cherry picked from commit ab5c77b4766e0992751d86560193ca42b49cf316)
crypto/evp/p_lib.c