The mix of CFLAGS and LDFLAGS is a bit confusing in my opinion, and
[openssl.git] / apps / speed.c
index a3b0833b69006071d0b6ef87007400f80a266c43..5697d3aef47a9c45c172b8b820d2be5c5b7daf0c 100644 (file)
@@ -1576,6 +1576,7 @@ int MAIN(int argc, char **argv)
                        }
                }
 
+#ifndef OPENSSL_NO_SHA256
        if (doit[D_SHA256])
                {
                for (j=0; j<SIZE_NUM; j++)
@@ -1588,7 +1589,9 @@ int MAIN(int argc, char **argv)
                        print_result(D_SHA256,j,count,d);
                        }
                }
+#endif
 
+#ifndef OPENSSL_NO_SHA512
        if (doit[D_SHA512])
                {
                for (j=0; j<SIZE_NUM; j++)
@@ -1602,6 +1605,8 @@ int MAIN(int argc, char **argv)
                        }
                }
 #endif
+
+#endif
 #ifndef OPENSSL_NO_RIPEMD
        if (doit[D_RMD160])
                {