summaryrefslogtreecommitdiff
path: root/src/benchmark-tls.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-10 10:37:54 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-10 10:37:54 +0100
commitec3a7d2279500b03b9fd7a46eca469e7073457dd (patch)
treecef4bd67401e29e8ebe9e7b04ea9d00ed172fc20 /src/benchmark-tls.c
parent309f04b111bcb507f6abed9669185fe1de66787f (diff)
downloadgnutls-ec3a7d2279500b03b9fd7a46eca469e7073457dd.tar.gz
updated for new eagain-common.h
Diffstat (limited to 'src/benchmark-tls.c')
-rw-r--r--src/benchmark-tls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/benchmark-tls.c b/src/benchmark-tls.c
index eb16548e7d..10bcf6372f 100644
--- a/src/benchmark-tls.c
+++ b/src/benchmark-tls.c
@@ -40,6 +40,8 @@
#include "../tests/eagain-common.h"
#include "benchmark.h"
+const char* side = "";
+
#define PRIO_DH "NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+DHE-RSA"
#define PRIO_ECDH "NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+ECDHE-RSA:+CURVE-SECP192R1"
#define PRIO_ECDHE_ECDSA "NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+ECDHE-ECDSA:+CURVE-SECP192R1"
@@ -206,7 +208,7 @@ char buffer[64 * 1024];
static void tls_log_func(int level, const char *str)
{
- fprintf(stderr, "|<%d>| %s", level, str);
+ fprintf(stderr, "%s|<%d>| %s", side, level, str);
}
static void test_ciphersuite(const char *cipher_prio, int size)