Skip to content

Commit

Permalink
Use "openssl rehash" instead of c_rehash script
Browse files Browse the repository at this point in the history
  • Loading branch information
Futaura committed Dec 11, 2023
1 parent 0452b87 commit fd02901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certs/update-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# AmiSSL - OpenSSL wrapper for AmigaOS-based systems
# Copyright (c) 1999-2006 Andrija Antonijevic, Stefan Burstroem.
# Copyright (c) 2006-2022 AmiSSL Open Source Team.
# Copyright (c) 2006-2023 AmiSSL Open Source Team.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -34,7 +34,7 @@ cd ${TMPDIR}
wget -O ca-bundle.crt https://curl.se/ca/cacert.pem
awk 'BEGIN {c=0} v{v=v"\n"$0} /----BEGIN/{v=$0;c++}/----END/&&v { print v > "cert." c ".pem"; v=x}' ca-bundle.crt
rm ca-bundle.crt
c_rehash .
openssl rehash -compat .
rm -f ${CURDIR}/*.[[:alnum:]]
find . -type l -exec cp {} ${CURDIR}/ \;
rm -rf ${TMPDIR}

0 comments on commit fd02901

Please sign in to comment.