summaryrefslogtreecommitdiffstats
path: root/demos/err/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/err/main.c')
-rw-r--r--demos/err/main.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/demos/err/main.c b/demos/err/main.c
deleted file mode 100644
index a9a6a574e1..0000000000
--- a/demos/err/main.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <openssl/err.h>
-
-#include "test_err.h"
-
-/* Simple error test routine */
-
-void a_test_function(void)
-{
- TESTerr(TEST_F_A_TEST_FUNCTION, TEST_R_TEST_REASON_CODE);
- TESTerr(TEST_F_A_TEST_FUNCTION, TEST_R_ANOTHER_TEST_REASON_CODE);
- ERR_add_error_data(1, "some additional error data");
-}
-
-int main(int argc, char **argv)
-{
- ERR_load_TEST_strings();
- a_test_function();
- ERR_print_errors_fp(stderr);
-}