This adds a check to EVP_get_cipherbyname which ensures that name is not null when passed to OPENSSL_strcasecmp, which cannot handle null values. OpenSSL already ensures this in their implementation of EVP_get_cipherbyname by using OBJ_NAME_get, so this improves parity. Change-Id: Icea45a5da2a7a461d2a65fbfbc84653c4f124dab Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/47844 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com>grpc-202302
parent
92c6fbfc4c
commit
d4c3f2a599
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue