Skip to content

Commit cc816aa

Browse files
committed
stop running c_rehash on updates
1 parent 1039bec commit cc816aa

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

bin/openssl-osx-ca

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,6 @@ genbundle() {
7373
if [[ "${d1}" = "${d2}" ]]; then
7474
logger -t "$(basename $0)" "${openssldir}/cert.pem up to date"
7575
else
76-
77-
# Note: there's no c_rehash bundled with libressl, the bundle is still
78-
# produced, so carry on as normal and just produce a bundle in the standard
79-
# location.
80-
local c_rehash=$(echo "$list" | grep bin/c_rehash | head -n 1)
81-
if [[ -n $c_rehash ]]; then
82-
if ! $c_rehash -- $tmpdir > /dev/null; then
83-
logger -t "$(basename $0)" "${openssldir}/cert.pem updated failed, see cron"
84-
85-
echo "rehash failed to verify, something is wrong"
86-
echo "check ${tmpdir}/cert.pem for problems"
87-
err "${tmpdir}" && return 1
88-
fi
89-
fi
90-
9176
# XXX: I don't think this is atomic on OSX, but it's as close as we're going to
9277
# get without a lot more work.
9378
mv -f ${tmpdir}/* ${openssldir}/

0 commit comments

Comments
 (0)