summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@gmail.com>2015-05-07 12:48:47 -0400
committerRich Salz <rsalz@openssl.org>2015-09-06 18:03:54 -0400
commit8f6f1441a368b984b739658778f53db1bf71a543 (patch)
tree9542c30c214e31d5da11a15d613c48ca9ee853cb /doc
parent496f4f9d6af6f69d604c1cedfeb956159b66846e (diff)
Add rehash command to openssl
On Unix/Linux platforms, merge c_rehash script into openssl as a C program. Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/apps/rehash.pod (renamed from doc/apps/c_rehash.pod)17
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/apps/c_rehash.pod b/doc/apps/rehash.pod
index e0a3d1995b..00ab29b140 100644
--- a/doc/apps/c_rehash.pod
+++ b/doc/apps/rehash.pod
@@ -5,20 +5,27 @@ Original text by James Westby, contributed under the OpenSSL license.
=head1 NAME
-c_rehash - Create symbolic links to files named by the hash values
+c_rehash, rehash - Create symbolic links to files named by the hash values
=head1 SYNOPSIS
-B<c_rehash>
+B<openssl>
+B<rehash>
B<[-old]>
B<[-h]>
B<[-n]>
B<[-v]>
[ I<directory>...]
+B<c_rehash>
+I<flags...>
+
=head1 DESCRIPTION
-B<c_rehash> scans directories and calculates a hash value of each
+On some platforms, the OpenSSL B<rehash> command is available as
+an external script called B<c_rehash>. They are functionally equivalent.
+
+B<rehash> scans directories and calculates a hash value of each
C<.pem>, C<.crt>, C<.cer>, or C<.crl>
file in the specified directory list and creates symbolic links
for each file, where the name of the link is the hash value.
@@ -37,7 +44,7 @@ In order for a directory to be processed, the user must have write
permissions on that directory, otherwise it will be skipped.
The links created are of the form C<HHHHHHHH.D>, where each B<H>
is a hexadecimal character and B<D> is a single decimal digit.
-When processing a directory, B<c_rehash> will first remove all links
+When processing a directory, B<rehash> will first remove all links
that have a name in that syntax. If you have links in that format
used for other purposes, they will be removed.
To skip the removal step, use the B<-n> flag.
@@ -87,7 +94,7 @@ This is needed when keeping new and old-style links in the same directory.
=item B<-v>
Print messages about old links removed and new links created.
-By default, B<c_rehash> only lists each directory as it is processed.
+By default, B<rehash> only lists each directory as it is processed.
=back