Blame SOURCES/openssl-1.0.2e-speed-doc.patch

aa8173
diff -up openssl-1.0.2e/apps/speed.c.speed-doc openssl-1.0.2e/apps/speed.c
aa8173
--- openssl-1.0.2e/apps/speed.c.speed-doc	2015-12-04 14:00:58.000000000 +0100
aa8173
+++ openssl-1.0.2e/apps/speed.c	2016-01-15 14:15:56.482343557 +0100
aa8173
@@ -648,10 +648,6 @@ int MAIN(int argc, char **argv)
aa8173
 # endif
aa8173
     int multiblock = 0;
aa8173
 
aa8173
-# ifndef TIMES
aa8173
-    usertime = -1;
aa8173
-# endif
aa8173
-
aa8173
     apps_startup();
aa8173
     memset(results, 0, sizeof(results));
aa8173
 # ifndef OPENSSL_NO_DSA
aa8173
@@ -1145,10 +1141,8 @@ int MAIN(int argc, char **argv)
aa8173
 
aa8173
             BIO_printf(bio_err, "\n");
aa8173
             BIO_printf(bio_err, "Available options:\n");
aa8173
-# if defined(TIMES) || defined(USE_TOD)
aa8173
             BIO_printf(bio_err, "-elapsed        "
aa8173
                        "measure time in real time instead of CPU user time.\n");
aa8173
-# endif
aa8173
 # ifndef OPENSSL_NO_ENGINE
aa8173
             BIO_printf(bio_err,
aa8173
                        "-engine e       "
aa8173
diff -up openssl-1.0.2e/doc/apps/speed.pod.speed-doc openssl-1.0.2e/doc/apps/speed.pod
aa8173
--- openssl-1.0.2e/doc/apps/speed.pod.speed-doc	2015-12-03 14:42:07.000000000 +0100
aa8173
+++ openssl-1.0.2e/doc/apps/speed.pod	2016-01-15 14:05:23.044222376 +0100
aa8173
@@ -8,6 +8,9 @@ speed - test library performance
aa8173
 
aa8173
 B<openssl speed>
aa8173
 [B<-engine id>]
aa8173
+[B<-elapsed>]
aa8173
+[B<-evp algo>]
aa8173
+[B<-decrypt>]
aa8173
 [B<md2>]
aa8173
 [B<mdc2>]
aa8173
 [B<md5>]
aa8173
@@ -49,6 +52,19 @@ to attempt to obtain a functional refere
aa8173
 thus initialising it if needed. The engine will then be set as the default
aa8173
 for all available algorithms.
aa8173
 
aa8173
+=item B<-elapsed>
aa8173
+
aa8173
+Measure time in real time instead of CPU time. It can be useful when testing
aa8173
+speed of hardware engines.
aa8173
+
aa8173
+=item B<-evp algo>
aa8173
+
aa8173
+Use the specified cipher or message digest algorithm via the EVP interface.
aa8173
+
aa8173
+=item B<-decrypt>
aa8173
+
aa8173
+Time the decryption instead of encryption. Affects only the EVP testing.
aa8173
+
aa8173
 =item B<[zero or more test algorithms]>
aa8173
 
aa8173
 If any options are given, B<speed> tests those algorithms, otherwise all of