# | Line 46 | Line 46 | |
---|---|---|
46 | // | |
47 | // Douglas Thrift | |
48 | // | |
49 | < | // $Id: HttpHandler.cpp,v 1.25 2003/07/20 05:47:26 douglas Exp $ |
49 | > | // $Id: HttpHandler.cpp,v 1.26 2003/07/24 04:37:53 douglas Exp $ |
50 | ||
51 | #include "HttpHandler.h" | |
52 | ||
# | Line 283 | Line 283 | bool HttpHandler::handle(URL &url, const | |
283 | ||
284 | void HttpHandler::clear() | |
285 | { | |
286 | + | #ifdef _OpenSSL_ |
287 | if (tls) | |
288 | { | |
289 | SSL_shutdown(ssl); | |
290 | SSL_free(ssl); | |
291 | SSL_CTX_free(ctx); | |
292 | } | |
293 | + | #endif |
294 | ||
295 | closesocket(http); | |
296 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |