EVP: allow empty strings to EVP_Decode* functions
authorRichard Levitte <levitte@openssl.org>
Sat, 13 Jun 2020 20:16:14 +0000 (22:16 +0200)
committerPauli <paul.dale@oracle.com>
Mon, 15 Jun 2020 22:23:25 +0000 (08:23 +1000)
commit0800288e6e1d9f44d471043a970ba57743ca8f4c
tree50f3f8ea8c2f1aa53ed1a4c76642169f1e02549e
parent670ff08e77c5b331443a3ed6d41564d863a47f06
EVP: allow empty strings to EVP_Decode* functions

This is a simple check order correction.

Fixes #12143

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12144)
crypto/evp/encode.c