Remove duplicated code
authorMatt Caswell <matt@openssl.org>
Mon, 17 Nov 2014 14:22:10 +0000 (14:22 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 27 Nov 2014 14:30:36 +0000 (14:30 +0000)
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
apps/speed.c

index f7aba13..d722231 100644 (file)
@@ -2747,27 +2747,6 @@ static int do_multi(int multi)
                                k=atoi(sstrsep(&p,sep));
                                sstrsep(&p,sep);
 
-                               d=atof(sstrsep(&p,sep));
-                               if(n)
-                                       rsa_results[k][0]=1/(1/rsa_results[k][0]+1/d);
-                               else
-                                       rsa_results[k][0]=d;
-
-                               d=atof(sstrsep(&p,sep));
-                               if(n)
-                                       rsa_results[k][1]=1/(1/rsa_results[k][1]+1/d);
-                               else
-                                       rsa_results[k][1]=d;
-                               }
-                       else if(!strncmp(buf,"+F2:",4))
-                               {
-                               int k;
-                               double d;
-                               
-                               p=buf+4;
-                               k=atoi(sstrsep(&p,sep));
-                               sstrsep(&p,sep);
-
                                d=atof(sstrsep(&p,sep));
                                if(n)
                                        rsa_results[k][0]=1/(1/rsa_results[k][0]+1/d);