Rich Salz
4c7103a5ee
Unwriteable directories are errors
...
Make the script and app match the documentation.
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-09-10 16:13:55 -04:00
Rich Salz
ff2f6bb084
Fix rehash/c_rehash doc and behavior.
...
Both now warn once if directory isn't writeable.
Both now warn on file-write errors (multiple times).
Update manpage to describe both program and script correctly.
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-09-08 15:13:57 -04:00
Olaf Johansson
8846adbd36
GH249: Fix bad regexp in arg parsing.
...
Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-06-02 11:24:44 -04:00
Rich Salz
6f46c3c3b0
RT2772 update: c_rehash was broken
...
Move the readdir() lines out of the if statement, so
that flist is available globally.
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-09-11 13:08:30 -04:00
Matthias Andree
a787c2590e
RT2272: Add old-style hash to c_rehash
...
In addition to Matthias's change, I also added -n to
not remove links. And updated the manpage.
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-09-08 11:34:44 -04:00
Viktor Dkhovni
5a8addc432
RT1325,2973: Add more extensions to c_rehash
...
Regexp was bracketed wrong.
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-09-07 18:24:15 -04:00
TANABE Hiroyasu
80ec8d4e3e
RT1325,2973: Add more extensions to c_rehash
...
Add .crt/.cer/.crl to the filenames parsed.
I also updated the podpage (since it didn't exist when
this ticket was first created, nor when it was re-created
seven years later).
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-08-31 00:36:09 -04:00
Dr. Stephen Henson
45078e6c52
PR: 2234
...
Submitted By: Matthias Andree <matthias.andree@gmx.de>
Use correct path to openssl utility in c_rehash script.
2010-04-14 23:07:12 +00:00
Dr. Stephen Henson
ef236ec3b2
Merge from 1.0.0-stable branch.
2009-04-23 16:32:42 +00:00
Andy Polyakov
a2688c872d
Minor portability update to c_rehash.
2006-10-26 10:52:12 +00:00
Andy Polyakov
d8cdd1567f
Make c_rehash more platform neutral and make it work in mixed environment,
...
such as MSYS with "native" Win32 perl.
2006-10-21 16:28:03 +00:00
Richard Levitte
56b5f687e4
And if the path has a space, we definitely need to protect $openssl.
2002-10-11 20:31:27 +00:00
Richard Levitte
caa4f47f61
Oh, there were *two* places where we needed to protect the file
...
name...
2002-10-11 20:28:23 +00:00
Richard Levitte
b7910992d8
There may be more than one single quote to fix.
...
PR: 256
2002-10-11 11:34:20 +00:00
Richard Levitte
42b06fbaca
Make sure $fname will not give us any surprises with any funny characters.
...
PR: 256
2002-10-11 11:07:28 +00:00
Richard Levitte
127dca46a0
Check for the executable $openssl, not just the file.
...
Part of PR: 75
2002-06-13 19:59:40 +00:00
Richard Levitte
bb766a0ad6
Make sure evil file name characters, like spaces or ampersands (!),
...
don't disturb the rehashing process.
Spotted and suggested patch from Rudo Thomas <rudo@internet.sk>
2001-08-17 04:35:58 +00:00
Richard Levitte
967d95f096
Incorporate some changes that make OpenSSL compilable in CygWin.
2001-04-04 15:50:30 +00:00
Dr. Stephen Henson
439df5087f
Fix c_rehash script, add -fingerprint option to crl.
2000-05-18 00:33:00 +00:00
Ulf Möller
31ff97b28a
mk1mf.pl and mkdef.pl read OPTIONS from toplevel Makefile.
...
Configure no longer changes files in place.
1999-05-13 10:28:14 +00:00