]> arthur.barton.de Git - ngircd.git/commit
S2S-TLS/GnuTLS: Fix handling of certificate information for incoming connections
authorAlexander Barton <alex@barton.de>
Fri, 5 Jan 2024 21:29:40 +0000 (22:29 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 23 Mar 2024 19:19:01 +0000 (20:19 +0100)
commit509ff6032686662328f4ecb0c5c287a34e929c53
treea6cfb69145bf6db1ada94a9e0a95da410692a9b7
parent0e176b557037b583f408229b518646804b33d745
S2S-TLS/GnuTLS: Fix handling of certificate information for incoming connections

Show proper certificate information for incoming connections, too, and
not "peer did not present a certificate", regardless if the client sent
a certificate or not.

This change is for GnuTLS and similar to what was implemented in commit
for OpenSSL in "S2S-TLS/OpenSSL: Fix handling of certificate information
for incoming connections".
src/ngircd/conn-ssl.c