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

apps/openssl.c

index 0f7176fd723e27e359063eee197f61b77d7ec81d..9f206095f9c6ed3f5b23bebba5c8544cacb35a07 100644 (file)
@@ -548,7 +548,7 @@ static void list_disabled(void)
 #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