free existingTrust when verifying certificate name on macOS (#41657)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Wed, 2 Sep 2020 00:35:25 +0000 (17:35 -0700)
committerGitHub <noreply@github.com>
Wed, 2 Sep 2020 00:35:25 +0000 (17:35 -0700)
commit3a94b2c5a8dfbe570922d1962bc4a95dfe103da7
tree504db99ae1d3e6073e6c359747d4a60e813b5346
parent012d3da0f51a946398eb03b7fe68fb788d7763d9
free existingTrust when verifying certificate name on macOS (#41657)

* free existingTrust when verifying certificate name

* add back NL

* free existingTrust on error path as well
src/libraries/Native/Unix/System.Security.Cryptography.Native.Apple/pal_ssl.c