openssl/demos/bio
slontis 09ff84bd27 Fixup demo exit status magic numbers
The demo code is quite often block copied for new demos,
so this PR changes demos to use EXIT_SUCCESS & EXIT_FAILURE
instead of using 0 and 1.
Internal functions use the normal notation of 0 = error, 1 = success,
but the value returned by main() must use EXIT_SUCCESS and EXIT_FAILURE.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20545)
2023-04-24 14:39:19 +02:00
..
accept.cnf Add config_diagnostics to our configuration files. 2021-08-04 08:15:14 +10:00
client-arg.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
client-conf.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
cmod.cnf Add config_diagnostics to our configuration files. 2021-08-04 08:15:14 +10:00
connect.cnf Add config_diagnostics to our configuration files. 2021-08-04 08:15:14 +10:00
descrip.mms Fix Typos 2019-07-02 14:22:29 +02:00
intca.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
Makefile demos: Add clean target for bio/Makefile 2021-04-16 09:54:19 +02:00
README.txt Rename NOTES*, README*, VERSION, HACKING, LICENSE to .md or .txt 2020-07-05 11:29:43 +02:00
root.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
saccept.c Following the license change, modify the boilerplates in demos/ 2018-12-06 15:38:19 +01:00
sconnect.c Update copyright year 2020-08-06 13:22:30 +01:00
server-arg.c Following the license change, modify the boilerplates in demos/ 2018-12-06 15:38:19 +01:00
server-cmod.c Following the license change, modify the boilerplates in demos/ 2018-12-06 15:38:19 +01:00
server-conf.c Following the license change, modify the boilerplates in demos/ 2018-12-06 15:38:19 +01:00
server-ec.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
server.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
shared.opt Crude VMS build files for demos/bio/ 2016-09-20 18:24:24 +02:00
static.opt Crude VMS build files for demos/bio/ 2016-09-20 18:24:24 +02:00

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.