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

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