diff options
author | Anthony Neal <aneal@zeroc.com> | 2001-11-17 20:06:01 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2001-11-17 20:06:01 +0000 |
commit | 3bfcb9e80be20d74a6f1e2a104dbb7892949b212 (patch) | |
tree | 1436c83a5bdf16c54051e2fc0601e94eb6a59441 /cpp/src/Ice/SslConnectionOpenSSLClient.h | |
parent | fixes (diff) | |
download | ice-3bfcb9e80be20d74a6f1e2a104dbb7892949b212.tar.bz2 ice-3bfcb9e80be20d74a6f1e2a104dbb7892949b212.tar.xz ice-3bfcb9e80be20d74a6f1e2a104dbb7892949b212.zip |
SSL Update:
Security Excpetions re-done, expressed in Slice.
Trace has been cut down to a more reasonable level.
Cleaned up macros.
Diffstat (limited to 'cpp/src/Ice/SslConnectionOpenSSLClient.h')
-rw-r--r-- | cpp/src/Ice/SslConnectionOpenSSLClient.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/cpp/src/Ice/SslConnectionOpenSSLClient.h b/cpp/src/Ice/SslConnectionOpenSSLClient.h index 48e9b2725e6..cf2d36ee36c 100644 --- a/cpp/src/Ice/SslConnectionOpenSSLClient.h +++ b/cpp/src/Ice/SslConnectionOpenSSLClient.h @@ -1,52 +1,52 @@ -// ********************************************************************** -// -// Copyright (c) 2001 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#ifndef ICE_SSL_CONNECTION_OPENSSL_CLIENT_H -#define ICE_SSL_CONNECTION_OPENSSL_CLIENT_H - -#include <openssl/ssl.h> -#include <Ice/Buffer.h> -#include <Ice/SslConnectionOpenSSL.h> - -namespace IceSecurity -{ - -namespace Ssl -{ - -namespace OpenSSL -{ - -using namespace Ice; - -class ClientConnection : public Connection -{ - -public: - ClientConnection(SSL*, string&); - virtual ~ClientConnection(); - virtual void shutdown(); - virtual int init(int timeout = 0); - - virtual int read(Buffer&, int); - virtual int write(Buffer&, int); - -protected: - - virtual void showConnectionInfo(); -}; - -} - -} - -} - -#endif +// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#ifndef ICE_SSL_CONNECTION_OPENSSL_CLIENT_H
+#define ICE_SSL_CONNECTION_OPENSSL_CLIENT_H
+
+#include <openssl/ssl.h>
+#include <Ice/Buffer.h>
+#include <Ice/SslConnectionOpenSSL.h>
+
+namespace IceSecurity
+{
+
+namespace Ssl
+{
+
+namespace OpenSSL
+{
+
+using namespace Ice;
+
+class ClientConnection : public Connection
+{
+
+public:
+ ClientConnection(SSL*, string&);
+ virtual ~ClientConnection();
+ virtual void shutdown();
+ virtual int init(int timeout = 0);
+
+ virtual int read(Buffer&, int);
+ virtual int write(Buffer&, int);
+
+protected:
+
+ virtual void showConnectionInfo();
+};
+
+}
+
+}
+
+}
+
+#endif
|