This _WIN32-specific patch makes it possible to "wrap" OpenSSL in another

.DLL, in particular static build. The issue has been discussed in RT#1230
and later on openssl-dev, and mutually exclusive approaches were suggested.
This completes compromise solution suggested in RT#1230.
PR: 1230
This commit is contained in:
Andy Polyakov
2008-12-22 13:54:12 +00:00
parent 70531c147c
commit e527201f6b
9 changed files with 55 additions and 6 deletions

View File

@@ -677,6 +677,8 @@ static int noecho_fgets(char *buf, int size, FILE *tty)
size--;
#ifdef WIN16TTY
i=_inchar();
#elif defined(_WIN32)
i=_getch();
#else
i=getch();
#endif