apps/speed.c: skip binary curves when compiling with OPENSSL_NO_EC2M
authorVitezslav Cizek <vcizek@suse.com>
Tue, 5 Mar 2019 16:14:33 +0000 (17:14 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 19 Mar 2019 10:23:48 +0000 (10:23 +0000)
commitd61f489b5a8d8369e75ee1e4991b3d4db95d7c7c
tree18e930ef82a019583aacb1f9314030cf6f775dfc
parentd7b2124a428f9e00ed7647554b5be7153aac71f6
apps/speed.c: skip binary curves when compiling with OPENSSL_NO_EC2M

openssl speed doesn't take into account that the library could be
compiled without the support for the binary curves and happily uses
them, which results in EC_GROUP_new_by_curve_name() errors.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8422)
apps/speed.c