openssl/demos/err
Matt Caswell 0f113f3ee4 Run util/openssl-format-source -v -c .
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22 09:20:09 +00:00
..
main.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
Makefile Demo of use of errors in applications. 2014-02-02 22:58:19 +00:00
README Demo of use of errors in applications. 2014-02-02 22:58:19 +00:00
test_err.ec Demo of use of errors in applications. 2014-02-02 22:58:19 +00:00
test_err.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00

This directory contains a simple example of how to use the ERR functions of
OpenSSL to add error codes to an external application. 

To test it first do "make errors". This will build error codes and add them
to the header files. It will also create some functions to load error codes.
Notice how "test_err.h" is updated after this call and the C source file
"test_err.c" is created. These names are in the test_err.ec file passed to the
mkerr.pl script.

Then do "make" which will build the test application.