Commit b6fcdc32 authored by Jay Satiro's avatar Jay Satiro
Browse files

openssl: accept subjectAltName iPAddress if no dNSName match

Undo change introduced in d4643d6e which caused iPAddress match to be
ignored if dNSName was present but did not match.

Also, if iPAddress is present but does not match, and dNSName is not
present, fail as no-match. Prior to this change in such a case the CN
would be checked for a match.

Bug: https://github.com/curl/curl/issues/959


Reported-by: default avatar <wmsch@users.noreply.github.com>
parent c2f9b78a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment