Fix list -disabled for blake2 alg
authorEasySec <easy.sec@free.fr>
Tue, 17 Jan 2017 16:21:55 +0000 (17:21 +0100)
committerEasySec <easy.sec@free.fr>
Tue, 17 Jan 2017 16:21:55 +0000 (17:21 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2241)

apps/openssl.c

index f6a8f9d..7aa02b6 100644 (file)
@@ -577,7 +577,7 @@ static void list_disabled(void)
 #ifdef OPENSSL_NO_BF
     BIO_puts(bio_out, "BF\n");
 #endif
 #ifdef OPENSSL_NO_BF
     BIO_puts(bio_out, "BF\n");
 #endif
-#ifndef OPENSSL_NO_BLAKE2
+#ifdef OPENSSL_NO_BLAKE2
     BIO_puts(bio_out, "BLAKE2\n");
 #endif
 #ifdef OPENSSL_NO_CAMELLIA
     BIO_puts(bio_out, "BLAKE2\n");
 #endif
 #ifdef OPENSSL_NO_CAMELLIA