diff options
author | Rich Salz <rsalz@openssl.org> | 2015-04-25 15:41:29 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-04-25 15:41:29 -0400 |
commit | 333b070ec06d7a67538ee9d5312656a19e802dc1 (patch) | |
tree | aa630fe4f89d2333f82e2aeeba61f66e86e1349c /apps/speed.c | |
parent | c54cc2b15d96944fcf13ccd24baca79f9593cbf0 (diff) |
fewer NO_ENGINE #ifdef's
Make setup_engine be a dummy if NO_ENGINE is enabled.
The option is not enabled if NO_ENGINE is enabled, so the one "wasted"
variable just sits there. Removes some variables and code.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/speed.c b/apps/speed.c index 1a01d333b7..57587053cc 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -835,11 +835,9 @@ int speed_main(int argc, char **argv) case OPT_DECRYPT: decrypt = 1; break; -#ifndef OPENSSL_NO_ENGINE case OPT_ENGINE: - setup_engine(opt_arg(), 0); + (void)setup_engine(opt_arg(), 0); break; -#endif #ifndef NO_FORK case OPT_MULTI: multi = atoi(opt_arg()); |