From 981c0de27a840c95982cbaa2ec25a77b04d1e2d5 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 18 Nov 2010 13:22:42 +0000 Subject: [PATCH] fix no SIGALRM case in speed.c --- apps/speed.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index d5e9e24b4d..0cb7f24cc4 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -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); -- 2.25.1