summaryrefslogtreecommitdiff
path: root/openvpn/easy-rsa/2.0/whichopensslcnf
blob: 2260aa8524bcfc0e0a9eda860c7c561f938f4cb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ "$OPENSSL" ]; then
	if $OPENSSL version | grep 0.9.6 > /dev/null; then
		echo "$1/openssl-0.9.6.cnf"
	else
		echo "$1/openssl.cnf"
	fi
else
	echo "$1/openssl.cnf"
fi

exit 0