Re: [Openvpn-devel] [PATCH] Make easy-rsa/2.0/vars handle paths with whitespaces

2011-08-18 Thread Tanel Rebane
As I've understood, the second approach is safer, but the first one is more portable. Then again, don't hold me to it as I have no sources available (other than myself) confirming that. I also noticed that easy-rsa/2.0/build-dh has issues with whitespaces. This can easily be fixed with some double

Re: [Openvpn-devel] [PATCH] Make easy-rsa/2.0/vars handle paths with whitespaces

2011-08-17 Thread Samuli Seppänen
> Hello, > > Line 29 of vars, export KEY_CONFIG=`$EASY_RSA/whichopensslcnf > $EASY_RSA`, cannot handle whitespaces contained in $EASY_RSA. This > line could be changed - depending on preference - to either of: > a) export KEY_CONFIG="`"${EASY_RSA}"/whichopensslcnf "${EASY_RSA}"`" > b) export KEY_C

[Openvpn-devel] [PATCH] Make easy-rsa/2.0/vars handle paths with whitespaces

2011-08-13 Thread Tanel Rebane
Hello, Line 29 of vars, export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`, cannot handle whitespaces contained in $EASY_RSA. This line could be changed - depending on preference - to either of: a) export KEY_CONFIG="`"${EASY_RSA}"/whichopensslcnf "${EASY_RSA}"`" b) export KEY_CONFIG=$("${EAS