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

index d2e4abf..de07054 100644 (file)
@@ -1246,7 +1246,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);