PR: 1902
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 17:31:04 +0000 (17:31 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 17:31:04 +0000 (17:31 +0000)
Add ecdsa/ecdh algorithms to default for speed utility.

apps/speed.c

index 1bd2ce264c213618f5384b0c996d10cec2ff0d1e..cd412526b97fe98fa911a20eba6ca00522b9dd13 100644 (file)
@@ -1129,6 +1129,14 @@ int MAIN(int argc, char **argv)
                        rsa_doit[i]=1;
                for (i=0; i<DSA_NUM; i++)
                        dsa_doit[i]=1;
+#ifndef OPENSSL_NO_ECDSA
+               for (i=0; i<EC_NUM; i++)
+                       ecdsa_doit[i]=1;
+#endif
+#ifndef OPENSSL_NO_ECDH
+               for (i=0; i<EC_NUM; i++)
+                       ecdh_doit[i]=1;
+#endif
                }
        for (i=0; i<ALGOR_NUM; i++)
                if (doit[i]) pr_header++;