diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-18 15:56:06 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-18 17:07:11 +0000 |
commit | 96bea0002b44f1f490a798d6122d6b15d1fe6b09 (patch) | |
tree | 8483f3d6eca4c15f020ec3fc3384c418d29f529f /apps/speed.c | |
parent | 40a8e9c2effc655413e8283fb31e7cffeeb6154a (diff) | |
download | openssl-96bea0002b44f1f490a798d6122d6b15d1fe6b09.tar.gz |
Fix no-des
Numerous fixes for no-des.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c index 230ed62e04..260b55fccc 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1386,7 +1386,9 @@ int speed_main(int argc, char **argv) memset(results, 0, sizeof(results)); memset(c, 0, sizeof(c)); +#ifndef OPENSSL_NO_DES memset(DES_iv, 0, sizeof(DES_iv)); +#endif memset(iv, 0, sizeof(iv)); for (i = 0; i < ALGOR_NUM; i++) |