fix no SIGALRM case in speed.c
authorDr. Stephen Henson <steve@openssl.org>
Thu, 18 Nov 2010 13:22:42 +0000 (13:22 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 18 Nov 2010 13:22:42 +0000 (13:22 +0000)
apps/speed.c

index d5e9e24b4d6bca807d8ae8e4f8049f946fcf75f7..0cb7f24cc427948c8d4e0008aa73b960a039d7df 100644 (file)
@@ -1230,7 +1230,8 @@ int MAIN(int argc, char **argv)
                count*=2;
                Time_F(START);
                for (it=count; it; it--)
-                       DES_ecb_encrypt(buf_as_des_cblock,buf_as_des_cblock,
+                       DES_ecb_encrypt((DES_cblock *)buf,
+                               (DES_cblock *)buf,
                                &sch,DES_ENCRYPT);
                d=Time_F(STOP);
                } while (d <3);