avoid segmentation fault
authorBodo Möller <bodo@openssl.org>
Wed, 29 Nov 2000 11:04:31 +0000 (11:04 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 29 Nov 2000 11:04:31 +0000 (11:04 +0000)
apps/speed.c

index 952a9d7..ee520ba 100644 (file)
@@ -740,7 +740,10 @@ int MAIN(int argc, char **argv)
        if (j == 0)
                {
                for (i=0; i<ALGOR_NUM; i++)
-                       doit[i]=1;
+                       {
+                       if (i != D_EVP)
+                               doit[i]=1;
+                       }
                for (i=0; i<RSA_NUM; i++)
                        rsa_doit[i]=1;
                for (i=0; i<DSA_NUM; i++)