summarylogtreecommitdiffstats
path: root/0001-fix_err.patch
blob: 1e7a68446276bf0cbe2ba5d87aa66fedeac1491d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/test_tls.c b/test_tls.c
index d137602..d2cdd9c 100644
--- a/test_tls.c
+++ b/test_tls.c
@@ -65,6 +65,10 @@ struct certkey {
 /* How much K to transfer between client and server. */
 #define KTRANSFER (1 * 1024)
 
+static void err(const int i, const char* msg)
+{
+   printf(msg);
+}
 /*
  * Simple TLS Server code is based on
  * https://wiki.openssl.org/index.php/Simple_TLS_Server