summaryrefslogtreecommitdiffstats
path: root/split-ca-bundle.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-02-06 11:31:40 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2020-02-06 11:31:40 +0100
commit898ab81b51730dcd175069956d6e792385c9f457 (patch)
tree576553d5b8ee8e7e5e6a20cb0c63d0f0ee2595c6 /split-ca-bundle.sh
parentfd399b2416191bd7f3b0f267bdb530ed829de271 (diff)
downloadca-certificates-898ab81b51730dcd175069956d6e792385c9f457.tar.gz
ca-certificates-898ab81b51730dcd175069956d6e792385c9f457.tar.bz2
ca-certificates-898ab81b51730dcd175069956d6e792385c9f457.tar.xz
split-ca-bundle: clean up unused function
remove left over function
Diffstat (limited to 'split-ca-bundle.sh')
-rw-r--r--split-ca-bundle.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/split-ca-bundle.sh b/split-ca-bundle.sh
index d0f39a8..80217ec 100644
--- a/split-ca-bundle.sh
+++ b/split-ca-bundle.sh
@@ -1,17 +1,5 @@
#!/bin/sh
-mkcert() {
- local name="$1"
- local line
- rm -f "$name"
- while read line; do
- printf "%s\n" "$line" >> "$name"
- if [ "$line" = "-----END CERTIFICATE-----" ]; then
- break;
- fi
- done
-}
-
prev=
while read line; do
case "$line" in