Following up on r1534149, extract the hostname verification from the
certificate detail processing and perform this before bailing for the no
reported failure case.

* subversion/libsvn_ra_serf/util.c
  (ssl_server_cert): Revert regression since r1535659, where a proper root
    certificate higher in the chain (via Windows or openssl config) would
    break the hostname check. Tweak logic to properly handle more incomplete
    certificate variants.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1535676 13f79535-47bb-0310-9956-ffa450edef68