aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/testcode/testbound.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-30 12:57:50 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-30 12:57:50 +0200
commit2d43ae806359c89818c0519d81a65ded768746d8 (patch)
treec5ca4144a8f721efb0b4d051ee604f2694e6df64 /external/unbound/testcode/testbound.c
parentno longer need to pass the size to rapidjson (diff)
downloadmonero-2d43ae806359c89818c0519d81a65ded768746d8.tar.xz
update unbound, fix unbound openssl issue on OS X
Diffstat (limited to 'external/unbound/testcode/testbound.c')
-rw-r--r--external/unbound/testcode/testbound.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/external/unbound/testcode/testbound.c b/external/unbound/testcode/testbound.c
index fa361c4ea..d908150a0 100644
--- a/external/unbound/testcode/testbound.c
+++ b/external/unbound/testcode/testbound.c
@@ -35,7 +35,7 @@
*/
/**
* \file
- * Exits with code 1 on a failure. 0 if all unit tests are successfull.
+ * Exits with code 1 on a failure. 0 if all unit tests are successful.
*/
#include "config.h"
@@ -284,10 +284,9 @@ main(int argc, char* argv[])
case 's':
free(pass_argv[1]);
testbound_selftest();
- printf("selftest successful\n");
exit(0);
case '2':
-#if (defined(HAVE_EVP_SHA256) || defined(HAVE_NSS)) && defined(USE_SHA2)
+#if (defined(HAVE_EVP_SHA256) || defined(HAVE_NSS) || defined(HAVE_NETTLE)) && defined(USE_SHA2)
printf("SHA256 supported\n");
exit(0);
#else