[PATCH 09/21] crypto: shorten the endpoint == server check in TLS creds