* missing openssl ifdef here too...
authorWilfried Göesgens <willi@citadel.org>
Sat, 11 Apr 2009 22:24:16 +0000 (22:24 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 11 Apr 2009 22:24:16 +0000 (22:24 +0000)
webcit/webserver.c

index 42d4c046a12d1abffdbd33edca57b2a83ac1f3e7..72d090c16485b21ed5460f24aea75588c2e1eb6c 100644 (file)
@@ -394,6 +394,7 @@ int ClientGetLine(int *sock, StrBuf *Target, StrBuf *CLineBuf, const char **Pos)
        const char *Error, *pch, *pchs;
        int rlen, len, retval = 0;
 
+#ifdef HAVE_OPENSSL
        if (is_https) {
                int ntries = 0;
                if (StrLength(CLineBuf) > 0) {
@@ -441,6 +442,7 @@ int ClientGetLine(int *sock, StrBuf *Target, StrBuf *CLineBuf, const char **Pos)
                        return -1;
        }
        else 
+#endif
                return StrBufTCP_read_buffered_line_fast(Target, 
                                                         CLineBuf,
                                                         Pos,