Skip to content
Snippets Groups Projects
Commit 1b5dff33 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Nicolas Jager
Browse files

TcpSocketEndpoint: fix peer certificate comparaison


Compare only public Id is not secure enough to ensure
certificate comparaison.
Use a byte-comparaison to verify the peer certificate
during TLS certificate checkings.

Change-Id: Ic90877ba3722e69d833f3adf841b3ebde8e44d9f
Reviewed-by: default avatarNicolas Jäger <nicolas.jager@savoirfairelinux.com>
parent 16551fc6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment