openvpn: backport an upstream fix for a regression in using --cipher none (fixes...
[openwrt-14.07/.git] / package / libs / openssl / patches / 210-termios_fix.patch
1 --- a/crypto/ui/ui_openssl.c
2 +++ b/crypto/ui/ui_openssl.c
3 @@ -190,7 +190,7 @@
4  # undef  SGTTY
5  #endif
6  
7 -#if defined(linux) && !defined(TERMIO)
8 +#if defined(linux) && !defined(TERMIO) && !defined(TERMIOS)
9  # undef  TERMIOS
10  # define TERMIO
11  # undef  SGTTY