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

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