Add more features that may be disabled
authorRichard Levitte <levitte@openssl.org>
Sat, 19 Sep 2015 23:42:14 +0000 (01:42 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 19 Sep 2015 23:57:57 +0000 (01:57 +0200)
Have a look at the directories in crypto/, I found reason to add
checks on CMAC and HMAC.  This might be completely irrelevant, but I
prefered covering too much than not enough.

Reviewed-by: Stephen Henson <steve@openssl.org>
apps/openssl.c

index 90f2223c70c40ecf5acc26d761e7cc71b2a696b0..ca1eac0606042bf2e914b401bc9bf94846481ac8 100644 (file)
@@ -735,6 +735,9 @@ static void list_disabled(void)
 #ifdef OPENSSL_NO_CAST
     BIO_puts(bio_out, "CAST\n");
 #endif
+#ifdef OPENSSL_NO_CMAC
+    BIO_puts(bio_out, "CMAC\n");
+#endif
 #ifdef OPENSSL_NO_CMS
     BIO_puts(bio_out, "CMS\n");
 #endif
@@ -768,6 +771,9 @@ static void list_disabled(void)
 #ifdef OPENSSL_NO_GOST
     BIO_puts(bio_out, "GOST\n");
 #endif
+#ifdef OPENSSL_NO_HMAC
+    BIO_puts(bio_out, "HMAC\n");
+#endif
 #ifdef OPENSSL_NO_IDEA
     BIO_puts(bio_out, "IDEA\n");
 #endif