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

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