]> arthur.barton.de Git - ngircd-alex.git/commit
S2S-TLS/OpenSSL: Fix handling of certificate information for incoming connections
authorAlexander Barton <alex@barton.de>
Tue, 2 Jan 2024 20:10:17 +0000 (21:10 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 23 Mar 2024 19:19:01 +0000 (20:19 +0100)
commit679505aab9fea21b27a3d4bbf99cf2a16cf3d3d5
tree215a0a85e6b2397daacf27b7d66fda486713b2e2
parent08647ab1e7cf0d034f2d8987a3cac3201af84e02
S2S-TLS/OpenSSL: 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.

And free the client certificate structure "peer_cert" on incoming
connections as well!
src/ngircd/conn-ssl.c