openssl/demos/bio
David Woodhouse 396e720965 Fix certificate validation for IPv6 literals in sconnect demo
Instead of naïvely trying to truncate at the first colon, use
BIO_get_conn_hostname(). That handles IPv6 literals correctly, even
stripping the [] from around them.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9201)
2020-08-03 17:15:35 +02:00
..
accept.cnf
client-arg.c
client-conf.c
cmod.cnf
connect.cnf
descrip.mms
intca.pem
Makefile
README.txt
root.pem
saccept.c
sconnect.c Fix certificate validation for IPv6 literals in sconnect demo 2020-08-03 17:15:35 +02:00
server-arg.c
server-cmod.c
server-conf.c
server-ec.pem
server.pem
shared.opt
static.opt

This directory contains some simple examples of the use of BIO's
to simplify socket programming.

The client-conf, server-conf, client-arg and client-conf include examples
of how to use the SSL_CONF API for configuration file or command line
processing.