Blame SOURCES/openssl-1.0.2a-apps-dgst.patch

557317
diff -up openssl-1.0.2a/apps/ca.c.dgst openssl-1.0.2a/apps/ca.c
557317
--- openssl-1.0.2a/apps/ca.c.dgst	2015-03-19 14:30:36.000000000 +0100
557317
+++ openssl-1.0.2a/apps/ca.c	2015-04-21 17:01:38.841551616 +0200
557317
@@ -157,7 +157,7 @@ static const char *ca_usage[] = {
557317
     " -startdate YYMMDDHHMMSSZ  - certificate validity notBefore\n",
557317
     " -enddate YYMMDDHHMMSSZ    - certificate validity notAfter (overrides -days)\n",
557317
     " -days arg       - number of days to certify the certificate for\n",
557317
-    " -md arg         - md to use, one of md2, md5, sha or sha1\n",
557317
+    " -md arg         - md to use, see openssl dgst -h for list\n",
557317
     " -policy arg     - The CA 'policy' to support\n",
557317
     " -keyfile arg    - private key file\n",
557317
     " -keyform arg    - private key file format (PEM or ENGINE)\n",
557317
diff -up openssl-1.0.2a/apps/enc.c.dgst openssl-1.0.2a/apps/enc.c
557317
--- openssl-1.0.2a/apps/enc.c.dgst	2015-03-19 14:19:00.000000000 +0100
557317
+++ openssl-1.0.2a/apps/enc.c	2015-04-21 17:01:38.841551616 +0200
557317
@@ -294,7 +294,7 @@ int MAIN(int argc, char **argv)
557317
                        "%-14s the next argument is the md to use to create a key\n",
557317
                        "-md");
557317
             BIO_printf(bio_err,
557317
-                       "%-14s   from a passphrase.  One of md2, md5, sha or sha1\n",
557317
+                       "%-14s   from a passphrase. See openssl dgst -h for list.\n",
557317
                        "");
557317
             BIO_printf(bio_err, "%-14s salt in hex is the next argument\n",
557317
                        "-S");
557317
diff -up openssl-1.0.2a/apps/req.c.dgst openssl-1.0.2a/apps/req.c
557317
--- openssl-1.0.2a/apps/req.c.dgst	2015-03-19 14:19:00.000000000 +0100
557317
+++ openssl-1.0.2a/apps/req.c	2015-04-21 17:01:38.842551640 +0200
557317
@@ -414,7 +414,7 @@ int MAIN(int argc, char **argv)
557317
                    " -newkey ec:file generate a new EC key, parameters taken from CA in 'file'\n");
557317
 #endif
557317
         BIO_printf(bio_err,
557317
-                   " -[digest]      Digest to sign with (md5, sha1, md2, mdc2, md4)\n");
557317
+                   " -[digest]      Digest to sign with (see openssl dgst -h for list)\n");
557317
         BIO_printf(bio_err, " -config file   request template file.\n");
557317
         BIO_printf(bio_err,
557317
                    " -subj arg      set or modify request subject\n");
557317
diff -up openssl-1.0.2a/apps/ts.c.dgst openssl-1.0.2a/apps/ts.c
557317
--- openssl-1.0.2a/apps/ts.c.dgst	2015-03-19 14:19:00.000000000 +0100
557317
+++ openssl-1.0.2a/apps/ts.c	2015-04-21 17:01:38.842551640 +0200
557317
@@ -337,7 +337,7 @@ int MAIN(int argc, char **argv)
557317
     BIO_printf(bio_err, "usage:\n"
557317
                "ts -query [-rand file%cfile%c...] [-config configfile] "
557317
                "[-data file_to_hash] [-digest digest_bytes]"
557317
-               "[-md2|-md4|-md5|-sha|-sha1|-mdc2|-ripemd160] "
557317
+               "[-<hashalg>] "
557317
                "[-policy object_id] [-no_nonce] [-cert] "
557317
                "[-in request.tsq] [-out request.tsq] [-text]\n",
557317
                LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
557317
diff -up openssl-1.0.2a/apps/x509.c.dgst openssl-1.0.2a/apps/x509.c
557317
--- openssl-1.0.2a/apps/x509.c.dgst	2015-03-19 14:30:36.000000000 +0100
557317
+++ openssl-1.0.2a/apps/x509.c	2015-04-21 17:01:38.842551640 +0200
557317
@@ -141,7 +141,7 @@ static const char *x509_usage[] = {
557317
     " -set_serial     - serial number to use\n",
557317
     " -text           - print the certificate in text form\n",
557317
     " -C              - print out C code forms\n",
557317
-    " -md2/-md5/-sha1/-mdc2 - digest to use\n",
557317
+    " -<dgst>         - digest to use, see openssl dgst -h output for list\n",
557317
     " -extfile        - configuration file with X509V3 extensions to add\n",
557317
     " -extensions     - section from config file with X509V3 extensions to add\n",
557317
     " -clrext         - delete extensions before signing and input certificate\n",
557317
diff -up openssl-1.0.2a/doc/apps/ca.pod.dgst openssl-1.0.2a/doc/apps/ca.pod
557317
--- openssl-1.0.2a/doc/apps/ca.pod.dgst	2015-01-20 13:33:36.000000000 +0100
557317
+++ openssl-1.0.2a/doc/apps/ca.pod	2015-04-21 17:01:38.842551640 +0200
557317
@@ -168,7 +168,8 @@ the number of days to certify the certif
557317
 =item B<-md alg>
557317
 
557317
 the message digest to use. Possible values include md5, sha1 and mdc2.
557317
-This option also applies to CRLs.
557317
+For full list of digests see openssl dgst -h output. This option also
557317
+applies to CRLs.
557317
 
557317
 =item B<-policy arg>
557317
 
557317
diff -up openssl-1.0.2a/doc/apps/ocsp.pod.dgst openssl-1.0.2a/doc/apps/ocsp.pod
557317
--- openssl-1.0.2a/doc/apps/ocsp.pod.dgst	2015-03-19 14:19:00.000000000 +0100
557317
+++ openssl-1.0.2a/doc/apps/ocsp.pod	2015-04-21 17:01:38.842551640 +0200
557317
@@ -219,7 +219,8 @@ check is not performed.
557317
 =item B<-md5|-sha1|-sha256|-ripemod160|...>
557317
 
557317
 this option sets digest algorithm to use for certificate identification
557317
-in the OCSP request. By default SHA-1 is used. 
557317
+in the OCSP request. By default SHA-1 is used. See openssl dgst -h output for
557317
+the list of available algorithms.
557317
 
557317
 =back
557317
 
557317
diff -up openssl-1.0.2a/doc/apps/req.pod.dgst openssl-1.0.2a/doc/apps/req.pod
557317
--- openssl-1.0.2a/doc/apps/req.pod.dgst	2015-03-19 14:30:36.000000000 +0100
557317
+++ openssl-1.0.2a/doc/apps/req.pod	2015-04-21 17:01:38.843551664 +0200
557317
@@ -201,7 +201,8 @@ will not be encrypted.
557317
 
557317
 this specifies the message digest to sign the request with (such as
557317
 B<-md5>, B<-sha1>). This overrides the digest algorithm specified in
557317
-the configuration file.
557317
+the configuration file. For full list of possible digests see openssl
557317
+dgst -h output.
557317
 
557317
 Some public key algorithms may override this choice. For instance, DSA
557317
 signatures always use SHA1, GOST R 34.10 signatures always use
557317
diff -up openssl-1.0.2a/doc/apps/x509.pod.dgst openssl-1.0.2a/doc/apps/x509.pod
557317
--- openssl-1.0.2a/doc/apps/x509.pod.dgst	2015-03-19 14:30:36.000000000 +0100
557317
+++ openssl-1.0.2a/doc/apps/x509.pod	2015-04-21 17:01:38.843551664 +0200
557317
@@ -107,6 +107,7 @@ the digest to use. This affects any sign
557317
 digest, such as the B<-fingerprint>, B<-signkey> and B<-CA> options. If not
557317
 specified then SHA1 is used. If the key being used to sign with is a DSA key
557317
 then this option has no effect: SHA1 is always used with DSA keys.
557317
+For full list of digests see openssl dgst -h output.
557317
 
557317
 =item B<-engine id>
557317