diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-10 10:37:54 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-10 10:37:54 +0100 |
commit | ec3a7d2279500b03b9fd7a46eca469e7073457dd (patch) | |
tree | cef4bd67401e29e8ebe9e7b04ea9d00ed172fc20 /src/benchmark-tls.c | |
parent | 309f04b111bcb507f6abed9669185fe1de66787f (diff) | |
download | gnutls-ec3a7d2279500b03b9fd7a46eca469e7073457dd.tar.gz |
updated for new eagain-common.h
Diffstat (limited to 'src/benchmark-tls.c')
-rw-r--r-- | src/benchmark-tls.c | 4 |
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) |