Signed-off-by: Wouter Verhelst <w@uter.be>
#define MY_NAME "nbd-tester-client"
#include "cliserv.h"
-#ifdef HAVE_GNUTLS
+#if HAVE_GNUTLS
#include "crypto-gnutls.h"
#endif
}
goto end;
}
-#ifdef HAVE_GNUTLS
+#if HAVE_GNUTLS
/* TLS */
if (keyfile) {
int plainfd[2]; // [0] is used by the proxy, [1] is used by NBD
int testflags = 0;
testfunc test = throughput_test;
-#ifdef HAVE_GNUTLS
+#if HAVE_GNUTLS
tlssession_init();
#endif
test = handshake_test;
testflags |= TEST_HANDSHAKE;
break;
-#ifdef HAVE_GNUTLS
+#if HAVE_GNUTLS
case 'C':
certfile=g_strdup(optarg);
break;