summaryrefslogtreecommitdiff
path: root/libressl/libressl/doit.sh
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-15 23:35:18 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-15 23:35:18 -0700
commita6feb748e22af1b8cf032c08e91c2424c44ebd62 (patch)
treeeb9c9d60ef869b59ca9b07a6dfa558f66b4ec785 /libressl/libressl/doit.sh
parentebd6d96bae32c48d9633c45d3bc8c403789c0d6c (diff)
downloadalpine-a6feb748e22af1b8cf032c08e91c2424c44ebd62.tar.xz
* clean up the libressl directory.
Diffstat (limited to 'libressl/libressl/doit.sh')
-rw-r--r--libressl/libressl/doit.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/libressl/libressl/doit.sh b/libressl/libressl/doit.sh
deleted file mode 100644
index 2a186a4e..00000000
--- a/libressl/libressl/doit.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-ME=`whoami`
-HERE=`pwd`
-LOF="$HERE/ListOfCerts.txt"
-rm -f $LOF
-if test ! -d certs ; then
- mkdir certs
-fi
-
-SSLDIR=`openssl version -d | awk '{ printf $2 }' | sed 's/"//g'`
-CERTDIR="$SSLDIR/certs"
-cd $CERTDIR
-ls -1 *pem > $LOF
-
-while read LINE ; do
- echo $LINE
- HASH=`openssl x509 -subject_hash -in $CERTDIR/$LINE -noout`
- cp $CERTDIR/$LINE $HERE/certs/$HASH.0; chmod 600 $HERE/certs/$HASH.0
- cp $CERTDIR/$LINE $HERE/certs ; chmod 600 $HERE/certs/$LINE
-done < $LOF
-rm -f $LOF
-