1 //
2 // HtHTTPSecure.cc
3 //
4 // HtHTTPSecure: Class for HTTP/HTTPS messaging (derived from Transport)
5 //		Uses an SSLConnection for secure connections.
6 //
7 // Part of the ht://Dig package   <http://www.htdig.org/>
8 // Copyright (c) 1995-2004 The ht://Dig Group
9 // For copyright details, see the file COPYING in your distribution
10 // or the GNU Library General Public License (LGPL) version 2 or later
11 // <http://www.gnu.org/copyleft/lgpl.html>
12 //
13 // $Id: HtHTTPSecure.cc,v 1.5 2004/05/28 13:15:23 lha Exp $
14 //
15 
16 #ifdef HAVE_CONFIG_H
17 #include "htconfig.h"
18 #endif /* HAVE_CONFIG_H */
19 
20 #ifdef HAVE_SSL_H
21 
22 #include "HtHTTPSecure.h"
23 
24 #ifdef HAVE_STD
25 #include <iostream>
26 #ifdef HAVE_NAMESPACES
27 using namespace std;
28 #endif
29 #else
30 #include <iostream.h>
31 #endif /* HAVE_STD */
32 
33 // HtHTTPSecure constructor
34 //
HtHTTPSecure()35 HtHTTPSecure::HtHTTPSecure()
36 : HtHTTP(*(new SSLConnection())) // Create a new "secure" connection
37 {
38 }
39 
40 // HtHTTPSecure destructor
41 //
~HtHTTPSecure()42 HtHTTPSecure::~HtHTTPSecure()
43 {
44 }
45 
46 #endif
47