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 952a9d79c1c98bf2aeaec66dd31031b4442d7d5a..ee520baa97d7896ff05ab6c8e1eb57a099006ba1 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++)