Use 'openssl rehash' instead of 'c_rehash'

Manual merge:
From 8fc206c2a9eb627dadc89c50f9c3b2992560130c Mon Sep 17 00:00:00 2001
From: Ken Moffat <zarniwhoop_AT_ntlworld_DOT_com>
Date: Thu, 5 Apr 2018 20:36:04 +0100
Subject: [PATCH] Change c_rehash to openssl rehash.
This commit is contained in:
DJ Lucas 2018-04-06 00:30:28 -05:00 committed by GitHub
parent c7720cf468
commit 486284c5ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -947,7 +947,7 @@ for cert in `find "${DESTDIR}${CERTDIR}" -name "*.pem"`; do
fi
done
/usr/bin/c_rehash "${DESTDIR}${CERTDIR}" 2>&1>/dev/null
"${OPENSSL}" rehash "${DESTDIR}${CERTDIR}" 2>&1>/dev/null
popd > /dev/null
# Install certdata.txt