mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-03 07:21:45 -09:00
package/ca-certificates: Replace c_rehash with openssl rehash
The upcoming bump of libopenssl to 4.0.2 removes the c_rehash script: https://openssl-library.org/post/2026-04-14-openssl-40-final-release/ https://github.com/openssl/openssl/blob/openssl-4.0.2/CHANGES.md#openssl-40 "* Removed `c_rehash` script tool. Use `openssl rehash` instead." Note that c_rehash was already described as obsolete in the release notes for OpenSSL 3.0.2 and 3.0.3. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Cc: Martin Bark <martin@barkynet.com> [Fiona: add note about how long c_rehash has been considered obsolete] Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
This commit is contained in:
@@ -36,7 +36,7 @@ define CA_CERTIFICATES_GEN_BUNDLE
|
||||
done >$(BUILD_DIR)/ca-certificates.crt
|
||||
|
||||
# Create symlinks to the certificates by their hash values
|
||||
$(HOST_DIR)/bin/c_rehash $(TARGET_DIR)/etc/ssl/certs
|
||||
$(HOST_DIR)/bin/openssl rehash $(TARGET_DIR)/etc/ssl/certs
|
||||
|
||||
# Install the certificates bundle
|
||||
$(INSTALL) -D -m 644 $(BUILD_DIR)/ca-certificates.crt \
|
||||
@@ -65,7 +65,7 @@ define HOST_CA_CERTIFICATES_INSTALL_CMDS
|
||||
done >$(BUILD_DIR)/ca-certificates.crt
|
||||
|
||||
# Create symlinks to the certificates by their hash values
|
||||
$(HOST_DIR)/bin/c_rehash $(HOST_DIR)/etc/ssl/certs
|
||||
$(HOST_DIR)/bin/openssl rehash $(HOST_DIR)/etc/ssl/certs
|
||||
|
||||
# Install the certificates bundle
|
||||
$(INSTALL) -D -m 644 $(BUILD_DIR)/ca-certificates.crt \
|
||||
|
||||
Reference in New Issue
Block a user