DJGPP update.
[openssl.git] / apps / speed.c
index 4c1f07cb8118f2e3dcc3bb07b36dd7380e70fffa..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])
                {
@@ -1808,6 +1813,7 @@ int MAIN(int argc, char **argv)
                                        EVP_DecryptInit_ex(&ctx,evp_cipher,NULL,key16,iv);
                                else
                                        EVP_EncryptInit_ex(&ctx,evp_cipher,NULL,key16,iv);
+                               EVP_CIPHER_CTX_set_padding(&ctx, 0);
 
                                Time_F(START);
                                if(decrypt)