Silence warning about missing HMAC-SHA3 selftests.
authorWerner Koch <wk@gnupg.org>
Thu, 7 Apr 2016 07:21:44 +0000 (09:21 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 7 Apr 2016 07:21:44 +0000 (09:21 +0200)
--

We do not have a reliable source for test vectors.

cipher/hmac-tests.c

index 46e1b22..8c04708 100644 (file)
@@ -707,8 +707,8 @@ run_selftests (int algo, int extended, selftest_report_func_t report)
     case GCRY_MD_SHA3_384:
     case GCRY_MD_SHA3_512:
       ec = 0;  /* FIXME: Add selftests.  */
-#ifdef __GNUC__
-# warning Please add the self text functions
+#if defined(__GNUC__) && defined(IS_DEVELOPMENT_VERSION)
+# warning Please add self test functions for HMAC-SHA3
 #endif
       break;