summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-07-25 23:09:48 +0000
committerMichi Henning <michi@zeroc.com>2002-07-25 23:09:48 +0000
commit997c78b8c2911a3787d9ca9b4b10e587cb8cbb2d (patch)
tree267560499341128d631b40e1caff8e9435b55552 /cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp
parentAdded generation of Yellow.Query in service configuration. (diff)
downloadice-997c78b8c2911a3787d9ca9b4b10e587cb8cbb2d.tar.bz2
ice-997c78b8c2911a3787d9ca9b4b10e587cb8cbb2d.tar.xz
ice-997c78b8c2911a3787d9ca9b4b10e587cb8cbb2d.zip
Changed Slice parser to disallow leading underscore for identifiers.
Changed Slice parser to reject identifiers beginning with "Ice", unless the --ice option is used. Changed Slice parser to disallow identifiers that have a trailing "Operations", "Holder", "Helper", "Prx", or "Ptr", to avoid clashes with language mappings. Fixed tests and remaining code base to work correctly with the changed rules.
Diffstat (limited to 'cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp')
-rw-r--r--cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp b/cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp
index fbc43e78391..5548ee82bcc 100644
--- a/cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp
+++ b/cpp/src/IceSSL/SslConnectionOpenSSLServer.cpp
@@ -107,8 +107,8 @@ IceSSL::OpenSSL::ServerConnection::handshake(int timeout)
{
ProtocolException protocolEx(__FILE__, __LINE__);
- protocolEx._message = "encountered an ssl protocol violation during handshake\n";
- protocolEx._message += sslGetErrors();
+ protocolEx.message = "encountered an ssl protocol violation during handshake\n";
+ protocolEx.message += sslGetErrors();
throw protocolEx;
}
@@ -170,8 +170,8 @@ IceSSL::OpenSSL::ServerConnection::handshake(int timeout)
ProtocolException protocolEx(__FILE__, __LINE__);
// Protocol Error: Unexpected EOF
- protocolEx._message = "encountered an eof during handshake that violates the ssl protocol\n";
- protocolEx._message += sslGetErrors();
+ protocolEx.message = "encountered an eof during handshake that violates the ssl protocol\n";
+ protocolEx.message += sslGetErrors();
throw protocolEx;
}
@@ -181,8 +181,8 @@ IceSSL::OpenSSL::ServerConnection::handshake(int timeout)
{
ProtocolException protocolEx(__FILE__, __LINE__);
- protocolEx._message = "encountered a violation of the ssl protocol during handshake\n";
- protocolEx._message += sslGetErrors();
+ protocolEx.message = "encountered a violation of the ssl protocol during handshake\n";
+ protocolEx.message += sslGetErrors();
throw protocolEx;
}
@@ -310,8 +310,8 @@ IceSSL::OpenSSL::ServerConnection::write(Buffer& buf, int timeout)
ProtocolException protocolEx(__FILE__, __LINE__);
// Protocol Error: Unexpected EOF.
- protocolEx._message = "encountered an EOF that violates the ssl protocol\n";
- protocolEx._message += sslGetErrors();
+ protocolEx.message = "encountered an EOF that violates the ssl protocol\n";
+ protocolEx.message += sslGetErrors();
throw protocolEx;
}
@@ -321,8 +321,8 @@ IceSSL::OpenSSL::ServerConnection::write(Buffer& buf, int timeout)
{
ProtocolException protocolEx(__FILE__, __LINE__);
- protocolEx._message = "encountered a violation of the ssl protocol\n";
- protocolEx._message += sslGetErrors();
+ protocolEx.message = "encountered a violation of the ssl protocol\n";
+ protocolEx.message += sslGetErrors();
throw protocolEx;
}