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 f6a8f9df55ae932cbb6ad4e1aa5665be0305169e..7aa02b6d88776bbf96f26900f63c6554d7af5070 100644 (file)
@@ -577,7 +577,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