tls: rearrange wocky_tls_session_verify_peer() to reduce code duplication
tls: rearrange wocky_tls_session_verify_peer() to reduce code duplication

noonien-d/wocky,noonien-d/wocky,freedesktop-unofficial-mirror/wocky,freedesktop-unofficial-mirror/wocky,noonien-d/wocky,freedesktop-unofficial-mirror/wocky