Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a901426c

Von mlenk vor mehr als 2 Jahren hinzugefügt

  • ID a901426cfa0d555b7920dc39358af293dedafe85
  • Vorgänger c30fbb29
  • Nachfolger ef790664

Remove duplicate hostname check

The hostname in the certificate is checked already a few lines above by calling
gnutls_x509_crt_check_hostname(). No need to check it here again.

This also fixes the bad hostname validation in cases where the used server name
is only available in the SubjectAltName extension of the certificate, and not
in its Distinguished Name (DN).

Fixes #295.

  • hinzugefügt
  • geändert
  • kopiert
  • umbenannt
  • gelöscht